openssl1.0/crypto/threads/pthread2.sh

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