add -ldl flag
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user