summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--configure.in3
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index d9f9ffef97..466abd8cbd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Sun Aug 21 14:20:58 2011 Naohisa Goto <ngotogenome@gmail.com>
+
+ * configure.in: use LD_LIBRARY_PATH_64 on 64-bit Solaris.
+
Sun Aug 21 11:13:54 2011 Naohisa Goto <ngotogenome@gmail.com>
* backport r32895 from trunk.
diff --git a/configure.in b/configure.in
index e613cd7292..83e5d7683e 100644
--- a/configure.in
+++ b/configure.in
@@ -2028,6 +2028,9 @@ if test "$with_dln_a_out" != yes; then
else
: ${LDSHARED='$(CC) -G'}
fi
+ if test "$ac_cv_sizeof_voidp" = 8; then
+ : ${LIBPATHENV=LD_LIBRARY_PATH_64}
+ fi
rb_cv_dlopen=yes],
[sunos*], [ : ${LDSHARED='ld -assert nodefinitions'}
rb_cv_dlopen=yes],