diff options
author | Lennart Poettering <lennart@poettering.net> | 2011-07-14 23:49:37 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2011-07-14 23:49:37 +0200 |
commit | 1eae4c45c9d04314c927c8ac6323133414020ba3 (patch) | |
tree | 161b4d1e0db37e0a31fb1a9d3361870776b96875 /Makefile.am | |
parent | 114a50f898a89bd7784c215ac5df95ec8c45a905 (diff) |
libs: add symbol versioning for the benefit of RPM
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am index 767baf7cd3..fc59b57c0f 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1377,7 +1377,8 @@ libsystemd_daemon_la_CFLAGS = \ libsystemd_daemon_la_LDFLAGS = \ -shared \ - -version-info $(LIBSYSTEMD_DAEMON_CURRENT):$(LIBSYSTEMD_DAEMON_REVISION):$(LIBSYSTEMD_DAEMON_AGE) + -version-info $(LIBSYSTEMD_DAEMON_CURRENT):$(LIBSYSTEMD_DAEMON_REVISION):$(LIBSYSTEMD_DAEMON_AGE) \ + -Wl,--version-script=$(top_srcdir)/src/libsystemd-daemon.sym libsystemd_login_la_SOURCES = \ src/sd-login.c \ @@ -1389,7 +1390,8 @@ libsystemd_login_la_CFLAGS = \ libsystemd_login_la_LDFLAGS = \ -shared \ - -version-info $(LIBSYSTEMD_LOGIN_CURRENT):$(LIBSYSTEMD_LOGIN_REVISION):$(LIBSYSTEMD_LOGIN_AGE) + -version-info $(LIBSYSTEMD_LOGIN_CURRENT):$(LIBSYSTEMD_LOGIN_REVISION):$(LIBSYSTEMD_LOGIN_AGE) \ + -Wl,--version-script=$(top_srcdir)/src/libsystemd-login.sym libsystemd_login_la_LIBADD = \ libsystemd-basic.la |