diff options
author | Ido Rosen <github@idorosen.com> | 2017-08-01 04:48:58 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-01 04:48:58 (GMT) |
commit | 8aeaf6bb3a6e837e2443fca71b0fe20490b92578 (patch) | |
tree | 08e1163e11b2afbe15c72211aec15a1afb71f6f4 /lib/Makefile | |
parent | ac5ed8e4bbfd534bb43d9103c50b41d3134e7c0a (diff) | |
download | lz4-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/Makefile | 3 |
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) |