summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-connectivity/samba/samba-3.6.24/only_export_public_symbols.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-connectivity/samba/samba-3.6.24/only_export_public_symbols.patch')
-rw-r--r--meta-oe/recipes-connectivity/samba/samba-3.6.24/only_export_public_symbols.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/meta-oe/recipes-connectivity/samba/samba-3.6.24/only_export_public_symbols.patch b/meta-oe/recipes-connectivity/samba/samba-3.6.24/only_export_public_symbols.patch
new file mode 100644
index 000000000..f4fbd56a1
--- /dev/null
+++ b/meta-oe/recipes-connectivity/samba/samba-3.6.24/only_export_public_symbols.patch
@@ -0,0 +1,21 @@
1Description: only export public symbols
2 Force usage of the symbols list when linking shared libraries. Otherwise,
3 private symbols get exported in libsmbclient and libwbclient.
4Forwarded: no
5Author: Ivo De Decker <ivo.dedecker@ugent.be>
6Last-Update: 2012-06-27
7
8--- samba-3.6.6.orig/source3/Makefile.in
9+++ samba-3.6.6/source3/Makefile.in
10@@ -28,8 +28,9 @@ SHLD=@SHLD@
11 LIB_PATH_VAR=@LIB_PATH_VAR@
12
13 ## Dynamic shared libraries build settings
14-DSO_EXPORTS_CMD=-Wl,--version-script,$(srcdir)/exports/`basename $@ | sed 's:\.@SHLIBEXT@[\.0-9]*$$:.@SYMSEXT@:'`
15-DSO_EXPORTS=@DSO_EXPORTS@
16+# force using syms file
17+DSO_EXPORTS=-Wl,--version-script,$(srcdir)/exports/`basename $@ | sed 's:\.@SHLIBEXT@[\.0-9]*$$:.@SYMSEXT@:'`
18+#DSO_EXPORTS=@DSO_EXPORTS@
19 SHLD_DSO = $(SHLD) $(LDSHFLAGS) $(DSO_EXPORTS) -o $@
20
21 # The MODULE_EXPORTS variable contains the platform-specific linker flags