diff options
author | Lennart Poettering <lennart@poettering.net> | 2014-07-10 20:38:07 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-07-10 20:38:07 +0200 |
commit | 947127ff6230b44623afec3e6aacc85f54168db2 (patch) | |
tree | b0265d0e3bcc7f59ab61e226b79a992105d8bea7 /Makefile.am | |
parent | bb62fb68f61fac69fa7f2470db943da859844acf (diff) |
nss-myhostname: only export the NSS entry point symbols, nothing else
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index 425a5e16a6..b28fa3feb4 100644 --- a/Makefile.am +++ b/Makefile.am @@ -4397,6 +4397,7 @@ endif # ------------------------------------------------------------------------------ if HAVE_MYHOSTNAME libnss_myhostname_la_SOURCES = \ + src/nss-myhostname/nss-myhostname.sym \ src/nss-myhostname/nss-myhostname.c \ src/nss-myhostname/addresses.h \ src/nss-myhostname/addresses.c @@ -4407,7 +4408,8 @@ libnss_myhostname_la_LDFLAGS = \ -export-dynamic \ -avoid-version \ -shared \ - -shrext .so.2 + -shrext .so.2 \ + -Wl,--version-script=$(top_srcdir)/src/nss-myhostname/nss-myhostname.sym libnss_myhostname_la_LIBADD = \ libsystemd-shared.la \ |