[win32] add AS patch#24, remove one other instance of error_no
[p5sagit/p5-mst-13.2.git] / hints / epix.sh
index 9fd5c90..b91537a 100644 (file)
@@ -28,7 +28,7 @@ usrinc='/svr4/usr/include'
 strings='/svr4/usr/include/string.h'
 timeincl='/svr4/usr/include/sys/time.h '
 libc='/svr4/usr/lib/libc.a'
-libpth='/svr4/usr/lib /svr4/usr/lib/cmplrs/cc /usr/ccs/lib /svr4/lib /svr4/usr/ucblib'
+glibpth="/svr4/usr/lib /svr4/usr/lib/cmplrs/cc /usr/ccs/lib /svr4/lib /svr4/usr/ucblib $glibpth"
 osname='epix2'
 archname='epix2'
 d_suidsafe='define'    # "./Configure -d" can't figure this out easilly
@@ -61,6 +61,8 @@ if [ -r /usr/ucblib/libucb.a ]; then  # If using BSD-compat. library:
 fi
 
 lddlflags="-G $ldflags"        # Probably needed for dynamic loading
+# We _do_ want the -L paths in ldflags, but we don't want the -non_shared.
+lddlflags=`echo $lddlflags | sed 's/-non_shared//'`
 
 cat <<'EOM' >&4