summaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2015-01-04 16:24:37 (GMT)
committerThomas Haller <thaller@redhat.com>2015-02-02 16:28:06 (GMT)
commit541b24935828e3a16b3d5c2094c41fe654f57f7c (patch)
tree3aa2f3c29425ef26f7d4fdbb2fb44b9f39cf4364 /src/lib
parente7d57da0ddad9097962ebfec4f5202b756ed93c9 (diff)
downloadlibnl-541b24935828e3a16b3d5c2094c41fe654f57f7c.zip
libnl-541b24935828e3a16b3d5c2094c41fe654f57f7c.tar.gz
libnl-541b24935828e3a16b3d5c2094c41fe654f57f7c.tar.bz2
build: add linker scripts for libnl-cli-3.so library
libnl-cli-3.so was unversioned previously. This is an ABI change (but backward compatible). Signed-off-by: Thomas Haller <thaller@redhat.com>
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/Makefile.am6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/Makefile.am b/src/lib/Makefile.am
index 27c74fd..d6f0d5b 100644
--- a/src/lib/Makefile.am
+++ b/src/lib/Makefile.am
@@ -41,6 +41,12 @@ NL_LIBADD = \
lib_LTLIBRARIES = \
libnl-cli-3.la
+libnl_cli_3_la_LDFLAGS = \
+ -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
+ -Wl,--version-script=$(top_builddir)/libnl-cli-3.sym
+libnl_cli_3_la_DEPENDENCIES = \
+ $(top_builddir)/libnl-cli-3.sym
+
libnl_cli_3_la_LIBADD = ${top_builddir}/lib/libnl-3.la \
${top_builddir}/lib/libnl-route-3.la \
${top_builddir}/lib/libnl-nf-3.la \