blob: 3945b775a472c9200340d2081e7a340e6094ad8b (
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.25c/source/Makefile.in
===================================================================
--- samba-3.0.25c.orig/source/Makefile.in 2007-08-26 13:09:01.919725881 +0200
+++ samba-3.0.25c/source/Makefile.in 2007-08-26 13:09:04.419603900 +0200
@@ -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)
|