* [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
* [PATCH libnetfilter_queue 2/2] Update .gitignore
2020-11-30 13:05 [PATCH libnetfilter_queue 1/2] build: choose right automake variables Jan Engelhardt
@ 2020-11-30 13:05 ` Jan Engelhardt
2020-12-08 12:08 ` [PATCH libnetfilter_queue 1/2] build: choose right automake variables Pablo Neira Ayuso
1 sibling, 0 replies; 3+ messages in thread
From: Jan Engelhardt @ 2020-11-30 13:05 UTC (permalink / raw)
To: fw; +Cc: netfilter-devel
Signed-off-by: Jan Engelhardt <jengelh@inai.de>
---
.gitignore | 4 ++++
1 file changed, 4 insertions(+)
diff --git .gitignore .gitignore
index a0fc139..525628e 100644
--- .gitignore
+++ .gitignore
@@ -2,6 +2,7 @@
.libs/
Makefile
Makefile.in
+.dirstamp
*.o
*.la
*.lo
@@ -12,6 +13,9 @@ Makefile.in
/config.*
/configure
/libtool
+/stamp-h1
/doxygen.cfg
/libnetfilter_queue.pc
+
+/examples/nf-queue
--
2.29.2
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH libnetfilter_queue 1/2] build: choose right automake variables
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 ` Pablo Neira Ayuso
1 sibling, 0 replies; 3+ messages in thread
From: Pablo Neira Ayuso @ 2020-12-08 12:08 UTC (permalink / raw)
To: Jan Engelhardt; +Cc: fw, netfilter-devel
Applied patch 1/2 and 2/2, thanks Jan.
^ permalink raw reply [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).