X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=genl%2FMakefile;h=2b7a45b603192224341e82bf96a3f84acdf645e5;hb=3147e0d37248f201d9b5ebcfb443e1f93e4f4bd3;hp=f0efe1ac66473a9f501c1e1a9fc97e3992dd405f;hpb=69fed534a533f48b8772d935590f82206171ca96;p=mirror_iproute2.git diff --git a/genl/Makefile b/genl/Makefile index f0efe1ac..2b7a45b6 100644 --- a/genl/Makefile +++ b/genl/Makefile @@ -1,6 +1,7 @@ +# SPDX-License-Identifier: GPL-2.0 GENLOBJ=genl.o -include ../Config +include ../config.mk SHARED_LIBS ?= y CFLAGS += -fno-strict-aliasing @@ -17,11 +18,6 @@ LDFLAGS += -Wl,-export-dynamic LDLIBS += -lm -ldl endif -ifeq ($(HAVE_MNL),y) - CFLAGS += -DHAVE_LIBMNL $(shell $(PKG_CONFIG) libmnl --cflags) - LDLIBS += $(shell $(PKG_CONFIG) libmnl --libs) -endif - all: genl genl: $(GENLOBJ) $(LIBNETLINK) $(LIBUTIL) $(GENLLIB)