summaryrefslogtreecommitdiff
path: root/app/openssl/crypto/threads/pthread.sh
diff options
context:
space:
mode:
authorParménides GV <parmegv@sdf.org>2014-04-08 11:38:09 +0200
committerParménides GV <parmegv@sdf.org>2014-04-08 11:43:27 +0200
commit5fc5d37330d3535a0f421632694d1e7918fc22d7 (patch)
tree1aad0c286e58962c8895854907e530b9bc9bce5a /app/openssl/crypto/threads/pthread.sh
parentc206a91d320995f37f8abb33188bfd384249da3d (diff)
Compiles correctly: app/build-native + gradle.
Diffstat (limited to 'app/openssl/crypto/threads/pthread.sh')
-rw-r--r--app/openssl/crypto/threads/pthread.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/app/openssl/crypto/threads/pthread.sh b/app/openssl/crypto/threads/pthread.sh
new file mode 100644
index 00000000..f1c49821
--- /dev/null
+++ b/app/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
+