diff --git a/source/Makefile.in b/source/Makefile.in index a16f673cffc..5b98f301d7d 100644 --- a/source/Makefile.in +++ b/source/Makefile.in @@ -711,7 +711,7 @@ libsmbclient: bin/libsmbclient.a @LIBSMBCLIENT_SHARED@ bin/smbsh: $(SMBSH_OBJ) bin/.dummy @echo Linking $@ - @$(SHLD) $(FLAGS) -o $@ $(SMBSH_OBJ) $(LDFLAGS) $(LIBS) + @$(CC) $(FLAGS) -o $@ $(SMBSH_OBJ) $(LDFLAGS) $(LIBS) nsswitch/libnss_wins.so: $(NSS_OBJ) @echo "Linking $@"