openssl/demos/threads/pthread.sh

7 lines
187 B
Bash
Raw Normal View History

#!/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 -ldl