Added -ldl and -pthread to Makefile

This commit is contained in:
vraatikka 2013-06-27 13:41:05 +03:00
parent 3b8ebfd215
commit 7bf99e48e7

View File

@ -37,7 +37,7 @@ HDRS= ../include/atomic.h ../include/buffer.h ../include/dcb.h \
OBJ=$(SRCS:.c=.o)
LIBS=-L../inih/extra -linih -lssl -lstdc++ \
-L/packages/mariadb-5.5.25/libmysql -lmysqlclient \
-lz -lm -lcrypto
-lz -lm -lcrypto -ldl -pthread
gateway: $(OBJ)
$(CC) $(LDFLAGS) $(OBJ) $(LIBS) -o $@