summaryrefslogtreecommitdiffstats
path: root/crypto/openssl/crypto/threads/pthread2.sh
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/openssl/crypto/threads/pthread2.sh')
-rwxr-xr-xcrypto/openssl/crypto/threads/pthread2.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/crypto/openssl/crypto/threads/pthread2.sh b/crypto/openssl/crypto/threads/pthread2.sh
new file mode 100755
index 0000000..41264c6
--- /dev/null
+++ b/crypto/openssl/crypto/threads/pthread2.sh
@@ -0,0 +1,7 @@
+#!/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
+
OpenPOWER on IntegriCloud