add -ldl flag
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
ifeq ($(shell uname),Darwin)
|
||||
LDFLAGS := -Wl,-dead_strip
|
||||
else
|
||||
LDFLAGS := -Wl,--gc-sections -lpthread
|
||||
LDFLAGS := -Wl,--gc-sections -lpthread -ldl
|
||||
endif
|
||||
|
||||
all: target/double
|
||||
|
||||
Reference in New Issue
Block a user