diff options
author | Thomas Haller <thaller@redhat.com> | 2015-01-04 16:24:37 (GMT) |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2015-02-02 16:28:06 (GMT) |
commit | 541b24935828e3a16b3d5c2094c41fe654f57f7c (patch) | |
tree | 3aa2f3c29425ef26f7d4fdbb2fb44b9f39cf4364 | |
parent | e7d57da0ddad9097962ebfec4f5202b756ed93c9 (diff) | |
download | libnl-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>
-rw-r--r-- | Makefile.am | 1 | ||||
-rw-r--r-- | libnl-cli-3.sym | 4 | ||||
-rw-r--r-- | src/lib/Makefile.am | 6 |
3 files changed, 11 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am index e48f1f8..61237dc 100644 --- a/Makefile.am +++ b/Makefile.am @@ -23,6 +23,7 @@ pkgsysconf_DATA = etc/pktloc etc/classid EXTRA_DIST = \ $(pkgsysconf_DATA) \ libnl-3.sym \ + libnl-cli-3.sym \ libnl-genl-3.sym \ libnl-idiag-3.sym \ libnl-nf-3.sym \ diff --git a/libnl-cli-3.sym b/libnl-cli-3.sym new file mode 100644 index 0000000..3532579 --- /dev/null +++ b/libnl-cli-3.sym @@ -0,0 +1,4 @@ +libnl_3 { +global: + *; +}; 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 \ |