summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2009-06-16 15:12:03 -0400
committerStephen Gallagher <sgallagh@redhat.com>2009-06-16 15:43:41 -0400
commitce3f45bad9d2ae97d72f653de13d43da569a8ab9 (patch)
treec53529703b84deea7b88e2a61a8f5331cfac3072 /server
parent6d09def23347c49b8e91381a037b0abbfe53f498 (diff)
downloadsssd-ce3f45bad9d2ae97d72f653de13d43da569a8ab9.tar.gz
sssd-ce3f45bad9d2ae97d72f653de13d43da569a8ab9.tar.bz2
sssd-ce3f45bad9d2ae97d72f653de13d43da569a8ab9.zip
Control sssd_be exported functions
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 b70be938..0c5f4674 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 00000000..9afa106b
--- /dev/null
+++ b/server/providers/sssd_be.exports
@@ -0,0 +1,4 @@
+{
+ global:
+ *;
+};