Commit 03366906 authored by Jörg Krause's avatar Jörg Krause Committed by Christophe Massiot

Makefile: link with pthread

Otherwise building multicat in a static context fails:
  aggregartp.c:381: undefined reference to `pthread_self'
Signed-off-by: 's avatarJörg Krause <joerg.krause@embedded.rocks>
parent 642f55ce
......@@ -4,7 +4,7 @@ VERSION = 2.1
CFLAGS += -Wall -Wformat-security -O3 -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -D_ISOC99_SOURCE -D_BSD_SOURCE
CFLAGS += -g
# Comment out the following line for Mac OS X build
LDLIBS += -lrt
LDLIBS += -lrt -pthread
OBJ_MULTICAT = multicat.o util.o
OBJ_INGESTS = ingests.o util.o
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment