mirror of
https://github.com/ruby/ruby.git
synced 2025-09-19 18:43:59 +02:00
merges r20239 from trunk into ruby_1_9_1
* configure.in (LIBRUBYARG_STATIC): fixed for --enable-rpath. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20266 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
d685a643ef
commit
43b5cb3dc6
2 changed files with 8 additions and 2 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
Mon Nov 17 02:19:03 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
|
* configure.in (LIBRUBYARG_STATIC): fixed for --enable-rpath.
|
||||||
|
|
||||||
Sat Nov 15 22:46:32 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
Sat Nov 15 22:46:32 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
* re.c (rb_reg_regsub): returns -1 unless ascii as well as
|
* re.c (rb_reg_regsub): returns -1 unless ascii as well as
|
||||||
|
|
|
@ -1673,9 +1673,9 @@ ENABLE_SHARED=no
|
||||||
AC_ARG_ENABLE(shared,
|
AC_ARG_ENABLE(shared,
|
||||||
[ --enable-shared build a shared library for Ruby. ],
|
[ --enable-shared build a shared library for Ruby. ],
|
||||||
[enable_shared=$enableval])
|
[enable_shared=$enableval])
|
||||||
|
LIBRUBYARG_SHARED='-l$(RUBY_SO_NAME)'
|
||||||
if test "$enable_shared" = 'yes'; then
|
if test "$enable_shared" = 'yes'; then
|
||||||
LIBRUBY='$(LIBRUBY_SO)'
|
LIBRUBY='$(LIBRUBY_SO)'
|
||||||
LIBRUBYARG_SHARED='-l$(RUBY_SO_NAME)'
|
|
||||||
LIBRUBYARG='$(LIBRUBYARG_SHARED)'
|
LIBRUBYARG='$(LIBRUBYARG_SHARED)'
|
||||||
CFLAGS="$CFLAGS $CCDLFLAGS"
|
CFLAGS="$CFLAGS $CCDLFLAGS"
|
||||||
ENABLE_SHARED=yes
|
ENABLE_SHARED=yes
|
||||||
|
@ -1752,7 +1752,9 @@ if test "$enable_shared" = 'yes'; then
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
if test "$enable_rpath" = yes; then
|
if test "$enable_rpath" = yes; then
|
||||||
LIBRUBYARG_SHARED="${linker_flag}-R ${linker_flag}\$(libdir) -L\$(libdir) $LIBRUBYARG_SHARED"
|
LIBRUBY_RPATHFLAGS="${linker_flag}-R ${linker_flag}\$(libdir) -L\$(libdir)"
|
||||||
|
LIBRUBYARG_SHARED="$LIBRUBY_RPATHFLAGS $LIBRUBYARG_SHARED"
|
||||||
|
LIBRUBYARG_STATIC="$LIBRUBY_RPATHFLAGS $LIBRUBYARG_STATIC"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
LDFLAGS="-L. $LDFLAGS"
|
LDFLAGS="-L. $LDFLAGS"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue