Add -ldl to the build of mttest.c
authorRichard Levitte <levitte@openssl.org>
Sun, 21 Jun 2015 17:19:59 +0000 (19:19 +0200)
committerRichard Levitte <levitte@openssl.org>
Sun, 21 Jun 2015 20:12:07 +0000 (22:12 +0200)
Reviewed-by: Rich Salz <rsalz@openssl.org>
(cherry picked from commit d62c98c81c7b47b7b1878fd7e91e5fd33818faf0)

crypto/threads/pthread2.sh

index 41264c6a5046418c51ba35bbfd910a283e342d10..ec945c451b965913b81f27193c00e9a086bd5895 100755 (executable)
@@ -3,5 +3,4 @@
 # 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
-
+gcc -DPTHREADS -I../../include -g mttest.c -o mttest -L../.. -lssl -lcrypto -lpthread -ldl