On Fri, May 4, 2018 at 1:23 AM, Jan Engelhardt <jengelh@xxxxxxx> wrote: > On Thursday 2018-05-03 17:03, Yuri Gribov wrote: > >>Hi all, >> >>Here's the updated version of the patch. >> >>diff --git a/src/Makefile.am b/src/Makefile.am >>index d0098cc..d91c9f7 100644 >>--- a/src/Makefile.am >>+++ b/src/Makefile.am >>@@ -3,7 +3,8 @@ include $(top_srcdir)/Make_global.am >> lib_LTLIBRARIES = libnfnetlink.la >> >> libnfnetlink_la_LDFLAGS = -Wc,-nostartfiles \ >>- -version-info $(LIBVERSION) >>+ -version-info $(LIBVERSION) \ >>+ -Wl,--version-script=$(srcdir)/nfnl.version >> libnfnetlink_la_SOURCES = libnfnetlink.c iftable.c rtnl.c >> >> noinst_HEADERS = iftable.h rtnl.h > > Another additional line will be needed, > > EXTRA_libnfnetlink_la_DEPENDENCIES = nfnl.version > > otherwise the linker won't rerun if the .version file gets modified. Yup, reproduced. Attaching fixed patch. -Y
Attachment:
0001-Hide-private-symbols-v5.patch
Description: Binary data