summaryrefslogtreecommitdiff
path: root/main/openssl/crypto/threads/pthread.sh
diff options
context:
space:
mode:
Diffstat (limited to 'main/openssl/crypto/threads/pthread.sh')
-rw-r--r--main/openssl/crypto/threads/pthread.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/main/openssl/crypto/threads/pthread.sh b/main/openssl/crypto/threads/pthread.sh
new file mode 100644
index 00000000..f1c49821
--- /dev/null
+++ b/main/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
+