aboutsummaryrefslogtreecommitdiffstats
path: root/security/libgcrypt-devel/files/patch-ltmain.sh
diff options
context:
space:
mode:
Diffstat (limited to 'security/libgcrypt-devel/files/patch-ltmain.sh')
-rw-r--r--security/libgcrypt-devel/files/patch-ltmain.sh32
1 files changed, 32 insertions, 0 deletions
diff --git a/security/libgcrypt-devel/files/patch-ltmain.sh b/security/libgcrypt-devel/files/patch-ltmain.sh
new file mode 100644
index 00000000000..e99e2de7af4
--- /dev/null
+++ b/security/libgcrypt-devel/files/patch-ltmain.sh
@@ -0,0 +1,32 @@
+--- scripts/ltmain.sh.orig Wed Jul 17 15:42:41 2002
++++ scripts/ltmain.sh Wed Jul 17 15:47:36 2002
+@@ -1062,8 +1062,16 @@
+ continue
+ ;;
+
++ -pthread)
++ compile_command="$compile_command %%PTHREAD_LIBS%%"
++ finalize_command="$finalize_command %%PTHREAD_LIBS%%"
++ compiler_flags="$compiler_flags %%PTHREAD_LIBS%%"
++ continue;
++ ;;
++
+ -module)
+ module=yes
++ build_old_libs=yes
+ continue
+ ;;
+
+@@ -4247,10 +4255,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"