important to -lpthread

This commit is contained in:
rsc 2005-01-17 21:38:20 +00:00
parent 212c482fe7
commit d338028eeb

View file

@ -12,7 +12,7 @@ if [ `uname` = Linux ]; then
# to use pthreads or not. On 2.6 versions that aren't # to use pthreads or not. On 2.6 versions that aren't
# linking with NPTL by default, pretend to be an older kernel. # linking with NPTL by default, pretend to be an older kernel.
echo "Running on Linux: checking for NPTL..." echo "Running on Linux: checking for NPTL..."
gcc lib/linux-isnptl.c gcc lib/linux-isnptl.c -lpthread
if ./a.out if ./a.out
then then
echo " NPTL found." echo " NPTL found."