2001-10-01 08:37:30 +02:00
|
|
|
|
|
|
|
$FreeBSD$
|
|
|
|
|
2002-02-03 08:16:38 +01:00
|
|
|
--- ltmain.sh.orig Wed Jan 23 11:38:40 2002
|
|
|
|
+++ ltmain.sh Sun Feb 3 01:44:17 2002
|
|
|
|
@@ -1037,8 +1037,16 @@
|
2002-01-24 16:09:56 +01:00
|
|
|
continue
|
|
|
|
;;
|
2002-01-23 16:22:19 +01:00
|
|
|
|
2002-01-24 16:09:56 +01:00
|
|
|
+ -pthread)
|
2002-02-03 08:16:38 +01:00
|
|
|
+ compile_command="$compile_command -pthread"
|
|
|
|
+ finalize_command="$finalize_command -pthread"
|
2002-01-24 16:09:56 +01:00
|
|
|
+ compiler_flags="$compiler_flags -pthread"
|
2002-01-29 08:17:18 +01:00
|
|
|
+ continue
|
2002-01-24 16:09:56 +01:00
|
|
|
+ ;;
|
|
|
|
+
|
2002-01-23 16:22:19 +01:00
|
|
|
-module)
|
|
|
|
module=yes
|
|
|
|
+ build_old_libs=no
|
|
|
|
continue
|
|
|
|
;;
|
|
|
|
|
2002-02-03 08:16:38 +01:00
|
|
|
@@ -2412,6 +2420,9 @@
|
2002-01-29 08:17:18 +01:00
|
|
|
*-*-netbsd*)
|
|
|
|
# Don't link with libc until the a.out ld.so is fixed.
|
2001-10-31 09:20:45 +01:00
|
|
|
;;
|
|
|
|
+ *-*-freebsd*)
|
|
|
|
+ # FreeBSD doesn't need this...
|
|
|
|
+ ;;
|
|
|
|
*)
|
2001-12-20 07:19:02 +01:00
|
|
|
# Add libc to deplibs on all other systems if necessary.
|
2002-02-03 08:16:38 +01:00
|
|
|
if test "$build_libtool_need_lc" = "yes"; then
|
|
|
|
@@ -4179,10 +4190,12 @@
|
2001-10-01 08:37:30 +02:00
|
|
|
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"
|