From d3728ef0089a6ba4d535a8a5b7dc45b6c9ede796 Mon Sep 17 00:00:00 2001 From: Toni Uhlig Date: Tue, 23 Jun 2020 00:19:47 +0200 Subject: -Wl == CFLAG Signed-off-by: Toni Uhlig --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 96d00ff65..b01b82f3b 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ ifneq ($(CUSTOM_LIBNDPI),) LIBS += '$(CUSTOM_LIBNDPI)' CFLAGS += '-I$(shell dirname $(CUSTOM_LIBNDPI))/../include' ifeq ($(findstring $*.so, $(CUSTOM_LIBNDPI)),.so) -LDFLAGS += -Wl,-rpath='$(shell dirname $(CUSTOM_LIBNDPI))' +CFLAGS += -Wl,-rpath='$(shell dirname $(CUSTOM_LIBNDPI))' endif else LIBS += -lndpi -- cgit v1.2.3