summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2013-02-11 23:34:42 +0000
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-02-11 23:34:42 +0000
commitfe232371db049d3bd990f78474f2381057c50be3 (patch)
treea63644b62200a10eebe2e3946d3ecea0d24614d0 /Makefile
parent9333d21abe61d66bd8cb800ec9f8b13a58060fe7 (diff)
Fix build against libpthreadnetio/master
* Makefile (netio): Link against libpthread instead of libthreads. * netfs.c: Use libpthread functions instead of libthreads functions.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 01d6fdc39..6aa013b94 100644
--- a/Makefile
+++ b/Makefile
@@ -22,7 +22,7 @@ CFLAGS = -g -Wall -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
INSTALL = install
netio: main.o netfs.o node.o lib.o protocol.o
- gcc $(CFLAGS) -lnetfs -lfshelp -liohelp -lthreads -lports \
+ gcc $(CFLAGS) -lnetfs -lfshelp -liohelp -lpthread -lports \
-lihash -lshouldbeinlibc \
-o netio main.o netfs.o node.o lib.o protocol.o