Remove unused runtime dependency -ldl

This commit is contained in:
Joseph C. Lehner 2023-08-04 13:26:55 +02:00
parent 0eb8d70971
commit 2fd4f83f61

View file

@ -30,9 +30,8 @@ else ifeq ($(shell uname -s),Linux)
CFLAGS += $(shell $(PKG_CONFIG) libpcap --cflags)
LDFLAGS += $(shell $(PKG_CONFIG) libnl-route-3.0 --libs)
LDFLAGS += $(shell $(PKG_CONFIG) libpcap --libs)
LDFLAGS += -ldl
else
LDFLAGS += -ldl -lpcap
LDFLAGS += -lpcap
endif
ifeq ($(shell uname -s),Darwin)