summaryrefslogtreecommitdiff
path: root/drivers/builtin_openssl/crypto/threads/pthread2.sh
diff options
context:
space:
mode:
authorjonyrock <ilms@live.ru>2014-05-01 20:15:28 +0400
committerjonyrock <ilms@live.ru>2014-05-01 20:15:28 +0400
commit209eaf6fa06eba8a05e5222bdab418cd0f20c91c (patch)
tree94eac56be6ad254a7c09e13d5e14bd843626232c /drivers/builtin_openssl/crypto/threads/pthread2.sh
parent34aea718b11e105d30c938ad34e474b1bd8b5d63 (diff)
parent6572d5128856b2ec55a2c417c92e584899f4906f (diff)
Merge remote-tracking branch 'upstream/master' into pair_symbols_tool
Diffstat (limited to 'drivers/builtin_openssl/crypto/threads/pthread2.sh')
-rwxr-xr-xdrivers/builtin_openssl/crypto/threads/pthread2.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/builtin_openssl/crypto/threads/pthread2.sh b/drivers/builtin_openssl/crypto/threads/pthread2.sh
new file mode 100755
index 0000000000..41264c6a50
--- /dev/null
+++ b/drivers/builtin_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
+