fix bug undefined symbol: sigar_skip_token, fixed #60

This commit is contained in:
Konstantin Makarchev 2018-01-22 12:50:15 +03:00
parent c2a1af3c25
commit dfe8fece17
1 changed files with 1 additions and 0 deletions

View File

@ -70,6 +70,7 @@ end
osdir = "../../src/os/#{os}" osdir = "../../src/os/#{os}"
$CPPFLAGS += ' -I../../include' + ' -I' + osdir $CPPFLAGS += ' -I../../include' + ' -I' + osdir
$CPPFLAGS += ' -U_FILE_OFFSET_BITS' unless is_win32 $CPPFLAGS += ' -U_FILE_OFFSET_BITS' unless is_win32
$CPPFLAGS += ' -fgnu89-inline'
if RUBY_VERSION > '1.8.4' if RUBY_VERSION > '1.8.4'
$CPPFLAGS += ' -DRB_HAS_RE_ERROR' $CPPFLAGS += ' -DRB_HAS_RE_ERROR'