mirror of
https://github.com/samba-team/samba.git
synced 2025-01-26 10:04:02 +03:00
fixed LDSHFLAGS when using non-standard lib locations
This commit is contained in:
parent
7adad774d8
commit
d23772c306
@ -13,6 +13,7 @@ SHLD=@SHLD@
|
||||
CFLAGS=@CFLAGS@
|
||||
CPPFLAGS=@CPPFLAGS@
|
||||
LDFLAGS=@LDFLAGS@
|
||||
LDSHFLAGS=@LDSHFLAGS@ @LDFLAGS@
|
||||
AWK=@AWK@
|
||||
|
||||
TERMLDFLAGS=@TERMLDFLAGS@
|
||||
@ -617,15 +618,15 @@ bin/smbw_sample: $(SMBW_OBJ) utils/smbw_sample.o bin/.dummy
|
||||
|
||||
bin/smbwrapper.@SHLIBEXT@: $(PICOBJS)
|
||||
@echo Linking shared library $@
|
||||
@$(LD) @LDSHFLAGS@ -o $@ $(PICOBJS) $(LIBS)
|
||||
@$(LD) $(LDSHFLAGS) -o $@ $(PICOBJS) $(LIBS)
|
||||
|
||||
bin/smbwrapper.32.@SHLIBEXT@: $(PICOBJS32)
|
||||
@echo Linking shared library $@
|
||||
@$(LD) -32 @LDSHFLAGS@ -o $@ $(PICOBJS32) $(LIBS)
|
||||
@$(LD) -32 $(LDSHFLAGS) -o $@ $(PICOBJS32) $(LIBS)
|
||||
|
||||
bin/libsmbclient.@SHLIBEXT@: $(LIBSMBCLIENT_PICOBJS)
|
||||
echo Linking libsmbclient shared library $@
|
||||
$(SHLD) @LDSHFLAGS@ -o $@ $(LIBSMBCLIENT_PICOBJS) $(LIBS)
|
||||
$(SHLD) $(LDSHFLAGS) -o $@ $(LIBSMBCLIENT_PICOBJS) $(LIBS)
|
||||
|
||||
bin/libsmbclient.a: $(LIBSMBCLIENT_PICOBJS)
|
||||
@echo Linking libsmbclient non-shared library $@
|
||||
@ -639,7 +640,7 @@ bin/smbsh: $(SMBSH_OBJ) bin/.dummy
|
||||
|
||||
nsswitch/libnss_wins.so: $(NSS_OBJ)
|
||||
@echo "Linking $@"
|
||||
@$(LD) @LDSHFLAGS@ -o $@ $(NSS_OBJ) -lc
|
||||
@$(LD) $(LDSHFLAGS) -o $@ $(NSS_OBJ) -lc
|
||||
|
||||
bin/winbindd: $(WINBINDD_OBJ) bin/.dummy
|
||||
@echo Linking $@
|
||||
@ -647,11 +648,11 @@ bin/winbindd: $(WINBINDD_OBJ) bin/.dummy
|
||||
|
||||
nsswitch/libnss_winbind.so: $(WINBIND_NSS_PICOBJS)
|
||||
@echo "Linking $@"
|
||||
@$(LINK) @LDSHFLAGS@ -o $@ $(WINBIND_NSS_PICOBJS)
|
||||
@$(LINK) $(LDSHFLAGS) -o $@ $(WINBIND_NSS_PICOBJS)
|
||||
|
||||
nsswitch/pam_winbind.so: $(PAM_WINBIND_OBJ) bin/.dummy
|
||||
@echo Linking $@
|
||||
@$(LINK) @LDSHFLAGS@ -o $@ $(PAM_WINBIND_OBJ)
|
||||
@$(LINK) $(LDSHFLAGS) -o $@ $(PAM_WINBIND_OBJ)
|
||||
|
||||
bin/wbinfo: $(WBINFO_OBJ) $(PARAM_OBJ) $(LIB_OBJ) $(NOPROTO_OBJ) $(UBIQX_OBJ) bin/.dummy
|
||||
@echo Linking $@
|
||||
@ -660,7 +661,7 @@ bin/wbinfo: $(WBINFO_OBJ) $(PARAM_OBJ) $(LIB_OBJ) $(NOPROTO_OBJ) $(UBIQX_OBJ) bi
|
||||
|
||||
bin/pam_smbpass.@SHLIBEXT@: $(PAM_SMBPASS_PICOOBJ)
|
||||
@echo "Linking shared library $@"
|
||||
$(LD) @LDSHFLAGS@ -symbolic -o $@ $(PAM_SMBPASS_PICOOBJ) -lpam $(LIBS) -lc
|
||||
$(LD) $(LDSHFLAGS) -symbolic -o $@ $(PAM_SMBPASS_PICOOBJ) -lpam $(LIBS) -lc
|
||||
|
||||
install: installbin installman installscripts installswat
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user