diff options
author | Yann Collet <cyan@fb.com> | 2017-08-07 04:06:14 (GMT) |
---|---|---|
committer | Yann Collet <cyan@fb.com> | 2017-08-07 04:06:14 (GMT) |
commit | 9a967030d7f049042a64cd095bd54ebd34f53780 (patch) | |
tree | 8f90393aa88ad8ab9bab8dd7b86ef497deb76ec0 | |
parent | 4891f909e14ea1e32b2ad5698ffbed74068ec2a7 (diff) | |
parent | c5a015bc3fd4e34f909550929db95b34a450e8d5 (diff) | |
download | lz4-9a967030d7f049042a64cd095bd54ebd34f53780.zip lz4-9a967030d7f049042a64cd095bd54ebd34f53780.tar.gz lz4-9a967030d7f049042a64cd095bd54ebd34f53780.tar.bz2 |
Merge branch 'dev' of github.com:Cyan4973/lz4 into dev
-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) |