066a9db902
PR: 54759 Submitted by: Marco Molteni <molter@tin.it>
33 lines
1 KiB
Bash
33 lines
1 KiB
Bash
--- ltmain.sh.orig Sun Jul 14 20:22:08 2002
|
|
+++ ltmain.sh Thu Jul 31 17:46:34 2003
|
|
@@ -1043,7 +1043,7 @@
|
|
# These systems don't actually have a C library (as such)
|
|
test "X$arg" = "X-lc" && continue
|
|
;;
|
|
- *-*-openbsd*)
|
|
+ *-*-openbsd* | *-*-freebsd*)
|
|
# Do not include libc due to us having libc/libc_r.
|
|
test "X$arg" = "X-lc" && continue
|
|
;;
|
|
@@ -2445,7 +2445,7 @@
|
|
*-*-netbsd*)
|
|
# Don't link with libc until the a.out ld.so is fixed.
|
|
;;
|
|
- *-*-openbsd*)
|
|
+ *-*-openbsd* | *-*-freebsd*)
|
|
# Do not include libc due to us having libc/libc_r.
|
|
;;
|
|
*)
|
|
@@ -4225,10 +4225,12 @@
|
|
fi
|
|
|
|
# Install the pseudo-library for information purposes.
|
|
+ if /usr/bin/false ; then
|
|
name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
|
|
instname="$dir/$name"i
|
|
$show "$install_prog $instname $destdir/$name"
|
|
$run eval "$install_prog $instname $destdir/$name" || exit $?
|
|
+ fi
|
|
|
|
# Maybe install the static library, too.
|
|
test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
|