add -ldl flag

This commit is contained in:
Ehsan M.Kermani
2018-04-16 08:31:52 -07:00
parent ae64cb4dc3
commit d94db2b7e2

View File

@@ -1,7 +1,7 @@
ifeq ($(shell uname),Darwin) ifeq ($(shell uname),Darwin)
LDFLAGS := -Wl,-dead_strip LDFLAGS := -Wl,-dead_strip
else else
LDFLAGS := -Wl,--gc-sections -lpthread LDFLAGS := -Wl,--gc-sections -lpthread -ldl
endif endif
all: target/double all: target/double