Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
put ruby linkflags in postlinkflags to hopefully fix this build error
  • Loading branch information
Soeren Sonnenburg committed Jan 11, 2012
1 parent c0d0193 commit e3e4a44
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/configure
Expand Up @@ -734,9 +734,9 @@ EOF
RUBYSO=`$RUBY -e 'require "mkmf"; puts RbConfig::expand("$(RUBY_SO_NAME)")'`
if ld -o "$TMPO" -l$RUBYSO >/dev/null 2>&1
then
LINKFLAGS_RUBY="-l$RUBYSO -fPIC -shared -ldl"
POSTLINKFLAGS_RUBY="-l$RUBYSO -fPIC -shared -ldl"
else
LINKFLAGS_RUBY="-lruby -fPIC -shared -ldl"
POSTLINKFLAGS_RUBY="-lruby -fPIC -shared -ldl"
fi
EXT_IF_SWIG_RUBY_MODULAR='stop'
PRE_LIB_SWIG_RUBY_MODULAR=
Expand Down Expand Up @@ -821,7 +821,7 @@ EOF
fi

echocheck "Ruby NArray Developer Files"
if cc_check $INCLUDES_RUBY $LINKFLAGS_RUBY && test -f $NARRAY
if cc_check $INCLUDES_RUBY $POSTLINKFLAGS_RUBY && test -f $NARRAY
then
echores "yes"
DEFINES="$DEFINES -DHAVE_RUBY_NARRAY"
Expand Down

0 comments on commit e3e4a44

Please sign in to comment.