Fix another small problem with Makefile.in ... not doing the correct
authorRichard Sharpe <sharpe@samba.org>
Sat, 30 Jun 2001 03:01:09 +0000 (03:01 +0000)
committerRichard Sharpe <sharpe@samba.org>
Sat, 30 Jun 2001 03:01:09 +0000 (03:01 +0000)
check for whether or not we should build a shared library.
(This used to be commit 09837044a2aa47a61d635316afa38645855db512)

source3/Makefile.in

index 7f507057bcfe1fc5d09b0b83bb1c3f895655b434..57806a6f89d6f28ea3a1226e958f4ea13b6b1da1 100644 (file)
@@ -614,7 +614,7 @@ bin/smbwrapper.32.@SHLIBEXT@: $(PICOBJS32)
        @$(LD) -32 @LDSHFLAGS@ -o $@ $(PICOBJS32) $(LIBS)
 
 bin/libsmbclient: $(LIBSMBCLIENT_PICOBJS)
-       -if [ $(BLDSHARED) ]; then \
+       -if [ $(BLDSHARED) = true ]; then \
           echo Linking libsmbclient shared library $@.@SHLIBEXT@; \
           $(LD) @LDSHFLAGS@ -o $@.@SHLIBEXT@ $(LIBSMBCLIENT_PICOBJS) $(LIBS); \
        fi