summaryrefslogtreecommitdiffstats
path: root/lib/Makefile
diff options
context:
space:
mode:
authorIdo Rosen <github@idorosen.com>2017-08-01 04:48:58 (GMT)
committerGitHub <noreply@github.com>2017-08-01 04:48:58 (GMT)
commit8aeaf6bb3a6e837e2443fca71b0fe20490b92578 (patch)
tree08e1163e11b2afbe15c72211aec15a1afb71f6f4 /lib/Makefile
parentac5ed8e4bbfd534bb43d9103c50b41d3134e7c0a (diff)
downloadlz4-8aeaf6bb3a6e837e2443fca71b0fe20490b92578.zip
lz4-8aeaf6bb3a6e837e2443fca71b0fe20490b92578.tar.gz
lz4-8aeaf6bb3a6e837e2443fca71b0fe20490b92578.tar.bz2
Fix typos preventing installation of static lib.
Diffstat (limited to 'lib/Makefile')
-rw-r--r--lib/Makefile3
1 files changed, 2 insertions, 1 deletions
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)