Fix link on Windows : LIBS must be added to LDLIBS for all OS

This commit is contained in:
Vincent Torri 2017-03-01 21:21:57 +01:00
parent 1e572ffe23
commit 131eb2a89c

View File

@ -23,6 +23,8 @@ else
CFLAGS += -pthread
endif
LDLIBS += $(LIBS)
ifeq ($(OS),Windows_NT)
else
UNAM := $(shell uname -s)
@ -31,7 +33,7 @@ else
CFLAGS += -D_POSIX_C_SOURCE=199309L
endif
LDLIBS += $(LIBS) -lm
LDLIBS += -lm
endif
find_files_h = $(wildcard $(dir)/*.h)