Solaris/longdouble needs /opt/SUNWspro/lib
authorAndy Dougherty <doughera@lafayette.edu>
Mon, 3 Dec 2001 15:48:26 +0000 (10:48 -0500)
committerJarkko Hietaniemi <jhi@iki.fi>
Mon, 3 Dec 2001 22:37:12 +0000 (22:37 +0000)
Message-ID: <Pine.SOL.4.10.10112031543520.5207-100000@maxwell.phys.lafayette.edu>

p4raw-id: //depot/perl@13447

hints/solaris_2.sh

index 86a375b..01a0d10 100644 (file)
@@ -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