summaryrefslogtreecommitdiff
path: root/openssl/crypto/threads/pthread.sh
diff options
context:
space:
mode:
Diffstat (limited to 'openssl/crypto/threads/pthread.sh')
-rw-r--r--openssl/crypto/threads/pthread.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/openssl/crypto/threads/pthread.sh b/openssl/crypto/threads/pthread.sh
new file mode 100644
index 00000000..f1c49821
--- /dev/null
+++ b/openssl/crypto/threads/pthread.sh
@@ -0,0 +1,9 @@
+#!/bin/sh
+#
+# build using pthreads
+#
+# http://www.mit.edu:8001/people/proven/pthreads.html
+#
+/bin/rm -f mttest
+pgcc -DPTHREADS -I../../include -g mttest.c -o mttest -L../.. -lssl -lcrypto
+