Add -ldl to the build of mttest.c
[openssl.git] / 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