]> granicus.if.org Git - ejabberd/commitdiff
Fix "make install" without JSON support
authorHolger Weiss <holger@zedat.fu-berlin.de>
Thu, 6 Nov 2014 16:11:15 +0000 (17:11 +0100)
committerHolger Weiss <holger@zedat.fu-berlin.de>
Thu, 6 Nov 2014 16:11:15 +0000 (17:11 +0100)
Don't bail out during "make install" when ./configure was called without
"--enable-json".

Makefile.in

index 6f48bc0d71cf9d8786f967b6c16b166bbbbe6457..575b0bdc7fa6766773a371fcf637cf2d22f445a9 100644 (file)
@@ -161,7 +161,7 @@ install: all
        # Binary system libraries
        $(INSTALL) -d $(SODIR)
        $(INSTALL) -m 644 $(DLLs) $(SODIR)
-       [ -f $(SODIR)/jiffy.so ] && (cd $(PRIVDIR); ln -s lib/jiffy.so; true)
+       -[ -f $(SODIR)/jiffy.so ] && (cd $(PRIVDIR); ln -s lib/jiffy.so; true)
        #
        # Translated strings
        $(INSTALL) -d $(MSGSDIR)