build: link against libdl on linux
This commit is contained in:
parent
b55801f225
commit
a93dc7ef11
@ -62,7 +62,7 @@ EV_CONFIG=config_linux.h
|
||||
EIO_CONFIG=config_linux.h
|
||||
CSTDFLAG += -D_GNU_SOURCE
|
||||
CPPFLAGS += -Isrc/ares/config_linux
|
||||
LINKFLAGS+=-lrt
|
||||
LINKFLAGS+=-ldl -lrt
|
||||
OBJS += src/unix/linux/core.o src/unix/linux/inotify.o
|
||||
endif
|
||||
|
||||
@ -116,8 +116,6 @@ endif
|
||||
RUNNER_CFLAGS=$(CFLAGS) -D_GNU_SOURCE
|
||||
RUNNER_LINKFLAGS=$(LINKFLAGS)
|
||||
|
||||
RUNNER_LINKFLAGS += -ldl
|
||||
|
||||
ifeq (SunOS,$(uname_S))
|
||||
RUNNER_LINKFLAGS += -pthreads
|
||||
else
|
||||
|
||||
Loading…
Reference in New Issue
Block a user