Added -ldl and -pthread to Makefile
This commit is contained in:
@ -37,7 +37,7 @@ HDRS= ../include/atomic.h ../include/buffer.h ../include/dcb.h \
|
|||||||
OBJ=$(SRCS:.c=.o)
|
OBJ=$(SRCS:.c=.o)
|
||||||
LIBS=-L../inih/extra -linih -lssl -lstdc++ \
|
LIBS=-L../inih/extra -linih -lssl -lstdc++ \
|
||||||
-L/packages/mariadb-5.5.25/libmysql -lmysqlclient \
|
-L/packages/mariadb-5.5.25/libmysql -lmysqlclient \
|
||||||
-lz -lm -lcrypto
|
-lz -lm -lcrypto -ldl -pthread
|
||||||
|
|
||||||
gateway: $(OBJ)
|
gateway: $(OBJ)
|
||||||
$(CC) $(LDFLAGS) $(OBJ) $(LIBS) -o $@
|
$(CC) $(LDFLAGS) $(OBJ) $(LIBS) -o $@
|
||||||
|
|||||||
Reference in New Issue
Block a user