Skip to content

Commit

Permalink
build: add linker scripts for libnl-cli-3.so library
Browse files Browse the repository at this point in the history
libnl-cli-3.so was unversioned previously. This is an
ABI change (but backward compatible).

Signed-off-by: Thomas Haller <thaller@redhat.com>
  • Loading branch information
thom311 committed Feb 2, 2015
1 parent e7d57da commit 541b249
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions Makefile.am
Expand Up @@ -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 \
Expand Down
4 changes: 4 additions & 0 deletions libnl-cli-3.sym
@@ -0,0 +1,4 @@
libnl_3 {
global:
*;
};
6 changes: 6 additions & 0 deletions src/lib/Makefile.am
Expand Up @@ -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 \
Expand Down

0 comments on commit 541b249

Please sign in to comment.