summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorThomas Graf <tgraf@suug.ch>2013-08-07 12:51:03 (GMT)
committerThomas Graf <tgraf@suug.ch>2013-08-07 12:51:03 (GMT)
commit0eb665c693ab2673b722ffd75df744f75fb7e2fe (patch)
tree511486a0ef92aeca683f78af9de021be379ab56e /lib
parent8443c7e9f130cfea1c1d3db8b61e20c547e8da07 (diff)
downloadlibnl-0eb665c693ab2673b722ffd75df744f75fb7e2fe.zip
libnl-0eb665c693ab2673b722ffd75df744f75fb7e2fe.tar.gz
libnl-0eb665c693ab2673b722ffd75df744f75fb7e2fe.tar.bz2
Enable linker versioning
Reported-by: Ian Stakenvicius Signed-off-by: Thomas Graf <tgraf@suug.ch>
Diffstat (limited to 'lib')
-rw-r--r--lib/Makefile.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Makefile.am b/lib/Makefile.am
index def16ba..697683f 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -10,7 +10,8 @@ AM_CPPFLAGS = \
-DSYSCONFDIR=\"$(sysconfdir)/libnl\"
AM_LDFLAGS = \
- -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
+ -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
+ -Wl,--version-script=$(top_srcdir)/libnl.sym
lib_LTLIBRARIES = \
libnl-3.la libnl-genl-3.la libnl-route-3.la libnl-nf-3.la libnl-idiag-3.la