aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorToni Uhlig <matzeton@googlemail.com>2020-06-23 00:19:47 +0200
committerToni Uhlig <matzeton@googlemail.com>2020-06-23 00:19:47 +0200
commitd3728ef0089a6ba4d535a8a5b7dc45b6c9ede796 (patch)
treedc81b57d298b52ea6d3a7579e4c020f997282843 /Makefile
parent25aeb01f71ef48a4d5c9dcbe2d49e87815471e47 (diff)
-Wl == CFLAG
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
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