summaryrefslogtreecommitdiff
path: root/app/openssl/crypto/threads/pthread2.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/pthread2.sh
parentc206a91d320995f37f8abb33188bfd384249da3d (diff)
Compiles correctly: app/build-native + gradle.
Diffstat (limited to 'app/openssl/crypto/threads/pthread2.sh')
-rwxr-xr-xapp/openssl/crypto/threads/pthread2.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/app/openssl/crypto/threads/pthread2.sh b/app/openssl/crypto/threads/pthread2.sh
new file mode 100755
index 00000000..41264c6a
--- /dev/null
+++ b/app/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
+