summaryrefslogtreecommitdiff
path: root/thirdparty/openssl/crypto/threads/pthread2.sh
diff options
context:
space:
mode:
Diffstat (limited to 'thirdparty/openssl/crypto/threads/pthread2.sh')
-rwxr-xr-xthirdparty/openssl/crypto/threads/pthread2.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/thirdparty/openssl/crypto/threads/pthread2.sh b/thirdparty/openssl/crypto/threads/pthread2.sh
new file mode 100755
index 0000000000..ec945c451b
--- /dev/null
+++ b/thirdparty/openssl/crypto/threads/pthread2.sh
@@ -0,0 +1,6 @@
+#!/bin/sh
+#
+# build using pthreads where it's already built into the system
+#
+/bin/rm -f mttest
+gcc -DPTHREADS -I../../include -g mttest.c -o mttest -L../.. -lssl -lcrypto -lpthread -ldl