Merge pull request #14 from vtorri/master

Fix link on Windows : LIBS must be added to LDLIBS for all OS
This commit is contained in:
lex 2017-03-01 23:24:47 +03:00 committed by GitHub
commit b00f9e4a89

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)