* [PATCH libnetfilter_queue 1/2] build: choose right automake variables
@ 2020-11-30 13:05 Jan Engelhardt
2020-11-30 13:05 ` [PATCH libnetfilter_queue 2/2] Update .gitignore Jan Engelhardt
2020-12-08 12:08 ` [PATCH libnetfilter_queue 1/2] build: choose right automake variables Pablo Neira Ayuso
0 siblings, 2 replies; 3+ messages in thread
From: Jan Engelhardt @ 2020-11-30 13:05 UTC (permalink / raw)
To: fw; +Cc: netfilter-devel
-l is a library selection, needs to go into _LDADD/_LIBADD.
Signed-off-by: Jan Engelhardt <jengelh@inai.de>
---
examples/Makefile.am | 4 ++--
src/Makefile.am | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git examples/Makefile.am examples/Makefile.am
index 1906697..97bb70c 100644
--- examples/Makefile.am
+++ examples/Makefile.am
@@ -3,5 +3,5 @@ include ${top_srcdir}/Make_global.am
check_PROGRAMS = nf-queue
nf_queue_SOURCES = nf-queue.c
-nf_queue_LDADD = ../src/libnetfilter_queue.la
-nf_queue_LDFLAGS = -dynamic -lmnl
+nf_queue_LDADD = ../src/libnetfilter_queue.la -lmnl
+nf_queue_LDFLAGS = -dynamic
diff --git src/Makefile.am src/Makefile.am
index ab2a151..8cede12 100644
--- src/Makefile.am
+++ src/Makefile.am
@@ -26,7 +26,7 @@ lib_LTLIBRARIES = libnetfilter_queue.la
noinst_HEADERS = internal.h
-libnetfilter_queue_la_LDFLAGS = -Wc,-nostartfiles -lnfnetlink \
+libnetfilter_queue_la_LDFLAGS = -Wc,-nostartfiles \
-version-info $(LIBVERSION)
libnetfilter_queue_la_SOURCES = libnetfilter_queue.c \
nlmsg.c \
--
2.29.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-12-08 12:09 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-11-30 13:05 [PATCH libnetfilter_queue 1/2] build: choose right automake variables Jan Engelhardt
2020-11-30 13:05 ` [PATCH libnetfilter_queue 2/2] Update .gitignore Jan Engelhardt
2020-12-08 12:08 ` [PATCH libnetfilter_queue 1/2] build: choose right automake variables Pablo Neira Ayuso
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).