important to -lpthread
This commit is contained in:
parent
212c482fe7
commit
d338028eeb
2
INSTALL
2
INSTALL
@ -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."
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user