summaryrefslogtreecommitdiff
path: root/hints
diff options
context:
space:
mode:
authorAndy Dougherty <doughera@lafayette.edu>2001-12-03 10:48:26 -0500
committerJarkko Hietaniemi <jhi@iki.fi>2001-12-03 22:37:12 +0000
commit6d7070896d12c668ac28e809f02514f973694af3 (patch)
tree574a8e962f79e57379683a36b1188b85e5067f2d /hints
parent08cdd7a3de4eb3ffe964e3e82fff3fdae9b8fabd (diff)
downloadperl-6d7070896d12c668ac28e809f02514f973694af3.tar.gz
Solaris/longdouble needs /opt/SUNWspro/lib
Message-ID: <Pine.SOL.4.10.10112031543520.5207-100000@maxwell.phys.lafayette.edu> p4raw-id: //depot/perl@13447
Diffstat (limited to 'hints')
-rw-r--r--hints/solaris_2.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/hints/solaris_2.sh b/hints/solaris_2.sh
index 86a375bdc5..01a0d10c2a 100644
--- a/hints/solaris_2.sh
+++ b/hints/solaris_2.sh
@@ -519,6 +519,9 @@ cat > UU/uselongdouble.cbu <<'EOCBU'
case "$uselongdouble" in
"$define"|true|[yY]*)
if test -f /opt/SUNWspro/lib/libsunmath.so; then
+ # Unfortunately libpth has already been set and
+ # searched, so we need to add in everything manually.
+ libpth="$libpth /opt/SUNWspro/lib"
libs="$libs -lsunmath"
ldflags="$ldflags -L/opt/SUNWspro/lib -R/opt/SUNWspro/lib"
d_sqrtl=define