openssl/crypto/threads/pthread2.sh
2022-12-15 23:49:32 +08:00

7 lines
187 B
Bash
Executable File

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