mirror of
https://git.freebsd.org/ports.git
synced 2025-06-07 22:00:31 -04:00
13 lines
612 B
Text
13 lines
612 B
Text
--- configure.orig Mon Jun 30 14:10:21 2003
|
|
+++ configure Tue Jan 17 14:03:02 2006
|
|
@@ -2791,8 +2791,9 @@
|
|
echo "${ECHO_T}$RUBY_CFLAGS" >&6
|
|
echo "$as_me:$LINENO: checking ruby LIBS" >&5
|
|
echo $ECHO_N "checking ruby LIBS... $ECHO_C" >&6
|
|
+ RUBY_LIBS=`ruby -e "require 'rbconfig'" -e "print '-l' + Config::MAKEFILE_CONFIG['RUBY_SO_NAME'] + ' ' + Config::MAKEFILE_CONFIG['LIBS']"`
|
|
RB_LIB_DIR=`$RUBY -e 'require "rbconfig"; puts Config::CONFIG["libdir"]'`
|
|
- RUBY_LIBS="-lruby -L$RB_LIB_DIR"
|
|
+ RUBY_LIBS="$RUBY_LIBS -L$RB_LIB_DIR"
|
|
echo "$as_me:$LINENO: result: $RUBY_LIBS" >&5
|
|
echo "${ECHO_T}$RUBY_LIBS" >&6
|
|
fi
|