diff options
Diffstat (limited to 'source3/Makefile.in')
-rw-r--r-- | source3/Makefile.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/Makefile.in b/source3/Makefile.in index f3e8b284d6..d81729e6b8 100644 --- a/source3/Makefile.in +++ b/source3/Makefile.in @@ -9,6 +9,7 @@ mandir=@mandir@ LIBS=@LIBS@ CC=@CC@ +SHLD=@SHLD@ CFLAGS=@CFLAGS@ CPPFLAGS=@CPPFLAGS@ LDFLAGS=@LDFLAGS@ @@ -591,7 +592,7 @@ bin/smbwrapper.32.@SHLIBEXT@: $(PICOBJS32) libsmbclient: $(LIBSMBCLIENT_PICOBJS) -if [ $(BLDSHARED) = true ]; then \ echo Linking libsmbclient shared library bin/$@.@SHLIBEXT@; \ - $(LD) @LDSHFLAGS@ -o bin/$@.@SHLIBEXT@ $(LIBSMBCLIENT_PICOBJS) $(LIBS); \ + $(SHLD) @LDSHFLAGS@ -o bin/$@.@SHLIBEXT@ $(LIBSMBCLIENT_PICOBJS) $(LIBS); \ fi @echo Linking libsmbclient non-shared library bin/$@.a -$(AR) -rc bin/$@.a $(LIBSMBCLIENT_PICOBJS) |