From 3193d692c2f64108f55b49c3a0ff0c84187658ea Mon Sep 17 00:00:00 2001 From: Yann Collet Date: Fri, 11 May 2018 11:31:48 -0700 Subject: [PATCH] minor patch, ensuring LIBDIR is created before installation follow-up from #1123 --- lib/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/Makefile b/lib/Makefile index d8178c7a5..3a160f88c 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -168,10 +168,12 @@ install-pc: libzstd.pc install-static: libzstd.a @echo Installing static library + @$(INSTALL) -d -m 755 $(DESTDIR)$(LIBDIR)/ @$(INSTALL_DATA) libzstd.a $(DESTDIR)$(LIBDIR) install-shared: libzstd @echo Installing shared library + @$(INSTALL) -d -m 755 $(DESTDIR)$(LIBDIR)/ @$(INSTALL_PROGRAM) $(LIBZSTD) $(DESTDIR)$(LIBDIR) @ln -sf $(LIBZSTD) $(DESTDIR)$(LIBDIR)/libzstd.$(SHARED_EXT_MAJOR) @ln -sf $(LIBZSTD) $(DESTDIR)$(LIBDIR)/libzstd.$(SHARED_EXT)