1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* configure.in (--with-opt-dir): Make this also work on DLDFLAGS

so LIBRUBY_SO links fine with libexecinfo installed in a
  non-system directory.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37062 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
knu 2012-09-30 17:36:09 +00:00
parent 0d3cd4119e
commit 1d695c36b9
2 changed files with 9 additions and 1 deletions

View file

@ -1,3 +1,9 @@
Mon Oct 1 02:34:53 2012 Akinori MUSHA <knu@iDaemons.org>
* configure.in (--with-opt-dir): Make this also work on DLDFLAGS
so LIBRUBY_SO links fine with libexecinfo installed in a
non-system directory.
Sun Sep 30 23:32:00 2012 Kenta Murata <mrkn@mrkn.jp> Sun Sep 30 23:32:00 2012 Kenta Murata <mrkn@mrkn.jp>
* vm_dump.c (rb_vm_bugreport): add /Library/Logs/DiagnosticReports * vm_dump.c (rb_vm_bugreport): add /Library/Logs/DiagnosticReports

View file

@ -2353,7 +2353,9 @@ AC_ARG_WITH(opt-dir,
[ [
CPPFLAGS="$CPPFLAGS -I$withval/include" CPPFLAGS="$CPPFLAGS -I$withval/include"
val=`echo $withval|sed 's/\\//\\\\\\//g'` val=`echo $withval|sed 's/\\//\\\\\\//g'`
LDFLAGS="$LDFLAGS "`echo ${LIBPATHFLAG} ${RPATHFLAG}|sed -E 's/%1\\$-s|%s/'${val}'\/lib/g'` val=`echo ${LIBPATHFLAG} ${RPATHFLAG}|sed -E 's/%1\\$-s|%s/'${val}'\/lib/g'`
LDFLAGS="$LDFLAGS $val"
DLDFLAGS="$DLDFLAGS $val"
]) ])
AS_CASE(["$target_cpu-$target_os"], AS_CASE(["$target_cpu-$target_os"],