summaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to 'server')
-rw-r--r--server/Makefile.am7
-rw-r--r--server/providers/sssd_be.exports4
2 files changed, 9 insertions, 2 deletions
diff --git a/server/Makefile.am b/server/Makefile.am
index b70be9380..0c5f4674c 100644
--- a/server/Makefile.am
+++ b/server/Makefile.am
@@ -243,7 +243,9 @@ sssd_be_SOURCES = \
providers/data_provider_be.c \
$(SSSD_UTIL_OBJ)
sssd_be_LDADD = $(SSSD_LIBS)
-sssd_be_LDFLAGS = -export-dynamic
+sssd_be_LDFLAGS = \
+ -Wl,--version-script,$(srcdir)/providers/sssd_be.exports \
+ -export-dynamic
if BUILD_POLICYKIT
sssd_pk_SOURCES = \
@@ -270,7 +272,8 @@ dist_noinst_DATA = \
examples/sssd.conf \
examples/sssdproxylocal \
examples/sssdproxytest \
- examples/sudo
+ examples/sudo \
+ providers/sssd_be.exports
######################
# Command-line Tools #
diff --git a/server/providers/sssd_be.exports b/server/providers/sssd_be.exports
new file mode 100644
index 000000000..9afa106be
--- /dev/null
+++ b/server/providers/sssd_be.exports
@@ -0,0 +1,4 @@
+{
+ global:
+ *;
+};