Explicitly create $(DESTDIR)$(LIBDIR)/ at install time
authorEric Siegerman <pub08-git@davor.org>
Wed, 15 Feb 2017 02:58:08 +0000 (21:58 -0500)
committerEric Siegerman <pub08-git@davor.org>
Wed, 15 Feb 2017 03:12:26 +0000 (22:12 -0500)
This is needed on systems where it isn't the parent of
$(PKGCONFIGDIR), and so doesn't get created implicitly.

lib/Makefile

index 7ba9ccb..c4bc7d2 100644 (file)
@@ -143,7 +143,7 @@ liblz4.pc: liblz4.pc.in Makefile
           $< >$@
 
 install: lib liblz4.pc
-       @$(INSTALL) -d -m 755 $(DESTDIR)$(PKGCONFIGDIR)/ $(DESTDIR)$(INCLUDEDIR)/
+       @$(INSTALL) -d -m 755 $(DESTDIR)$(PKGCONFIGDIR)/ $(DESTDIR)$(INCLUDEDIR)/ $(DESTDIR)$(LIBDIR)/
        @$(INSTALL_DATA) liblz4.pc $(DESTDIR)$(PKGCONFIGDIR)/
        @echo Installing libraries
 ifeq ($(BUILD_STATIC),yes)