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

* configure.in: set PRELOADENV in Solaris to avoid "wrong ELF class" error.

[Bug #10926] [ruby-dev:48888]
* configure.in: set LIBPATHENV for 32-bit compile in Solaris in addition
  to 64-bit.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49810 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
ngoto 2015-03-02 16:06:08 +00:00
parent 89333366a0
commit 2e522aec8f
2 changed files with 11 additions and 0 deletions

View file

@ -1,3 +1,10 @@
Tue Mar 3 00:59:39 2015 Naohisa Goto <ngotogenome@gmail.com>
* configure.in: set PRELOADENV in Solaris to avoid "wrong ELF class"
error. [Bug #10926] [ruby-dev:48888]
* configure.in: set LIBPATHENV for 32-bit compile in Solaris
in addition to 64-bit.
Mon Mar 2 15:36:10 2015 Nobuyoshi Nakada <nobu@ruby-lang.org>
* configure.in: do not check _setjmp unless _longjmp is available,

View file

@ -2963,6 +2963,10 @@ if test "$with_dln_a_out" != yes; then
fi
if test "$ac_cv_sizeof_voidp" = 8; then
: ${LIBPATHENV=LD_LIBRARY_PATH_64}
: ${PRELOADENV=LD_PRELOAD_64}
else
: ${LIBPATHENV=LD_LIBRARY_PATH_32}
: ${PRELOADENV=LD_PRELOAD_32}
fi
rb_cv_dlopen=yes],
[sunos*], [ : ${LDSHARED='$(LD) -assert nodefinitions'}