* [libnetfilter_conntrack PATCH] src/Makefile.am: drop hardcoded -ldl
@ 2015-01-14 15:29 Gustavo Zacarias
2015-01-21 0:06 ` Florian Westphal
0 siblings, 1 reply; 2+ messages in thread
From: Gustavo Zacarias @ 2015-01-14 15:29 UTC (permalink / raw)
To: netfilter-devel; +Cc: Gustavo Zacarias
This breaks static builds where the toolchain completely lacks libdl.
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
src/Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/Makefile.am b/src/Makefile.am
index 7d6c905..374598a 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -11,6 +11,6 @@ lib_LTLIBRARIES = libnetfilter_conntrack.la
libnetfilter_conntrack_la_LIBADD = conntrack/libnfconntrack.la \
expect/libnfexpect.la \
${LIBNFNETLINK_LIBS} ${LIBMNL_LIBS}
-libnetfilter_conntrack_la_LDFLAGS = -Wc,-nostartfiles -lnfnetlink -ldl \
+libnetfilter_conntrack_la_LDFLAGS = -Wc,-nostartfiles -lnfnetlink \
-version-info $(LIBVERSION)
libnetfilter_conntrack_la_SOURCES = main.c callback.c
--
2.0.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [libnetfilter_conntrack PATCH] src/Makefile.am: drop hardcoded -ldl
2015-01-14 15:29 [libnetfilter_conntrack PATCH] src/Makefile.am: drop hardcoded -ldl Gustavo Zacarias
@ 2015-01-21 0:06 ` Florian Westphal
0 siblings, 0 replies; 2+ messages in thread
From: Florian Westphal @ 2015-01-21 0:06 UTC (permalink / raw)
To: Gustavo Zacarias; +Cc: netfilter-devel
Gustavo Zacarias <gustavo@zacarias.com.ar> wrote:
> This breaks static builds where the toolchain completely lacks libdl.
... and I also don't see any reason why we'd need it. So I applied your patch.
Thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-01-21 0:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-14 15:29 [libnetfilter_conntrack PATCH] src/Makefile.am: drop hardcoded -ldl Gustavo Zacarias
2015-01-21 0:06 ` Florian Westphal
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).