Merge pull request #16 from ehsanmok/fix_c_make

add -ldl flag
This commit is contained in:
Alex Crichton
2018-04-16 10:35:00 -05:00
committed by GitHub

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