summaryrefslogtreecommitdiff
path: root/source4/lib/registry
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2006-03-06 21:14:41 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:52:20 -0500
commitce3032cab82fd66ddfd4d55d7cc242aff80be161 (patch)
tree7a13b9a20a34ef79c17abc38cc9752149d94a5fc /source4/lib/registry
parent148403594be03ab0ca8e396ef22cd01ef19921d5 (diff)
downloadsamba-ce3032cab82fd66ddfd4d55d7cc242aff80be161.tar.gz
samba-ce3032cab82fd66ddfd4d55d7cc242aff80be161.tar.bz2
samba-ce3032cab82fd66ddfd4d55d7cc242aff80be161.zip
r13898: Add a subsystem-specific DEFAULT_VISIBILITY property that can be used
to not export symbols when building shared libraries. Symbols that have to be available to users of the library can be explicitly exported by prepending them with _PUBLIC_ in the C source. (This used to be commit ea9988dfda6df09f1ee8f9aea1dc5b96fff52ee6)
Diffstat (limited to 'source4/lib/registry')
-rw-r--r--source4/lib/registry/config.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/lib/registry/config.mk b/source4/lib/registry/config.mk
index a977e0ea5c..82309ad470 100644
--- a/source4/lib/registry/config.mk
+++ b/source4/lib/registry/config.mk
@@ -82,6 +82,7 @@ REQUIRED_SUBSYSTEMS = \
################################################
# Start SUBSYSTEM REGISTRY
[LIBRARY::REGISTRY]
+DEFAULT_VISIBILITY = hidden
MAJOR_VERSION = 0
MINOR_VERSION = 0
DESCRIPTION = Windows-style registry library