2004-08-01 02:10:09 -04:00
|
|
|
$OpenBSD: patch-ltmain_sh,v 1.4 2004/08/01 06:10:09 marcm Exp $
|
|
|
|
--- ltmain.sh.orig Sat May 1 23:43:48 2004
|
|
|
|
+++ ltmain.sh Sat Jul 24 23:15:53 2004
|
|
|
|
@@ -1374,6 +1374,17 @@ EOF
|
2003-06-12 15:45:35 -04:00
|
|
|
continue
|
|
|
|
;;
|
|
|
|
|
|
|
|
+ -pthread)
|
|
|
|
+ case $host in
|
|
|
|
+ *-*-openbsd*)
|
|
|
|
+ deplibs="$deplibs $arg"
|
|
|
|
+ ;;
|
|
|
|
+ *)
|
|
|
|
+ continue
|
|
|
|
+ ;;
|
|
|
|
+ esac
|
|
|
|
+ ;;
|
|
|
|
+
|
|
|
|
-module)
|
|
|
|
module=yes
|
|
|
|
continue
|
2004-08-01 02:10:09 -04:00
|
|
|
@@ -2022,6 +2033,19 @@ EOF
|
|
|
|
newdlfiles="$newdlfiles $deplib"
|
|
|
|
fi
|
2003-06-12 15:45:35 -04:00
|
|
|
fi
|
2004-08-01 02:10:09 -04:00
|
|
|
+ continue
|
|
|
|
+ ;;
|
2003-06-12 15:45:35 -04:00
|
|
|
+ -pthread)
|
2003-08-06 16:44:08 -04:00
|
|
|
+ case $linkmode in
|
|
|
|
+ lib)
|
|
|
|
+ deplibs="$deplib $deplibs"
|
|
|
|
+ newdependency_libs="$deplib $newdependency_libs"
|
|
|
|
+ ;;
|
|
|
|
+ prog)
|
|
|
|
+ compile_deplibs="$deplib $compile_deplibs"
|
|
|
|
+ finalize_deplibs="$deplib $finalize_deplibs"
|
|
|
|
+ ;;
|
|
|
|
+ esac
|
2003-06-12 15:45:35 -04:00
|
|
|
continue
|
2004-08-01 02:10:09 -04:00
|
|
|
;;
|
|
|
|
%DEPLIBS%)
|