From 8aeaf6bb3a6e837e2443fca71b0fe20490b92578 Mon Sep 17 00:00:00 2001 From: Ido Rosen Date: Tue, 1 Aug 2017 00:48:58 -0400 Subject: [PATCH] Fix typos preventing installation of static lib. --- lib/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/Makefile b/lib/Makefile index c6fd7b8..de5c4ff 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -42,7 +42,7 @@ LIBVER_MINOR := $(shell echo $(LIBVER_MINOR_SCRIPT)) LIBVER_PATCH := $(shell echo $(LIBVER_PATCH_SCRIPT)) LIBVER := $(shell echo $(LIBVER_SCRIPT)) -BUILD_STATIC:= yes +BUILD_STATIC:=yes CPPFLAGS+= -DXXH_NAMESPACE=LZ4_ CFLAGS ?= -O3 @@ -149,6 +149,7 @@ install: lib liblz4.pc @echo Installing libraries ifeq ($(BUILD_STATIC),yes) @$(INSTALL_LIB) liblz4.a $(DESTDIR)$(LIBDIR)/liblz4.a + @$(INSTALL_DATA) lz4frame_static.h $(DESTDIR)$(INCLUDEDIR)/lz4frame_static.h endif @$(INSTALL_LIB) liblz4.$(SHARED_EXT_VER) $(DESTDIR)$(LIBDIR) @ln -sf liblz4.$(SHARED_EXT_VER) $(DESTDIR)$(LIBDIR)/liblz4.$(SHARED_EXT_MAJOR)