blob: 0c9cc6362ca98141ecb187c67de833c8f9f931d5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
Goal: Fix missing symbols in libsmbclient (and libnss_wins), and add
-Wl,-z,defs to the libsmbclient link options to prevent future
instances of undefined symbols
Fixes: #281181
Status wrt upstream: Not forwarded. Should be once there is a configure test
for it.
Note:
Index: samba-3.0.28a/source/Makefile.in
===================================================================
--- samba-3.0.28a.orig/source/Makefile.in
+++ samba-3.0.28a/source/Makefile.in
@@ -1161,7 +1161,7 @@
bin/libsmbclient.@SHLIBEXT@: proto_exists $(LIBSMBCLIENT_OBJ)
@echo Linking libsmbclient shared library $@
- @$(SHLD) $(LDSHFLAGS) -o $@ $(LIBSMBCLIENT_OBJ) $(LIBS) \
+ @$(SHLD) $(LDSHFLAGS) -Wl,-z,defs -o $@ $(LIBSMBCLIENT_OBJ) $(LIBS) \
$(KRB5LIBS) $(LDAP_LIBS) $(NSCD_LIBS) \
@SONAMEFLAG@`basename $@`.$(LIBSMBCLIENT_MAJOR)
|