diff options
author | Yann Collet <yann.collet.73@gmail.com> | 2015-03-08 11:50:40 (GMT) |
---|---|---|
committer | Yann Collet <yann.collet.73@gmail.com> | 2015-03-08 11:50:40 (GMT) |
commit | e1d9b593e197bbb7f03be38739015a4fa7976c26 (patch) | |
tree | ebbbf74de2438605d4e5f3135dc4d93064746487 /lib/Makefile | |
parent | 32a85fc76d3da9345c2e49ce33a9d8d1e79dfa1f (diff) | |
download | lz4-e1d9b593e197bbb7f03be38739015a4fa7976c26.zip lz4-e1d9b593e197bbb7f03be38739015a4fa7976c26.tar.gz lz4-e1d9b593e197bbb7f03be38739015a4fa7976c26.tar.bz2 |
Fixed : static library (x64 binary)
Diffstat (limited to 'lib/Makefile')
-rw-r--r-- | lib/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Makefile b/lib/Makefile index aab4369..9c479cb 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -67,7 +67,7 @@ all: liblz4 liblz4: lz4.c lz4hc.c lz4frame.c xxhash.c @echo compiling static library - @$(CC) $(CPPFLAGS) $(CFLAGS) -c $^ + @$(CC) $(CPPFLAGS) $(CFLAGS) -fPIC -c $^ @$(AR) rcs liblz4.a lz4.o lz4hc.o lz4frame.o xxhash.o @echo compiling dynamic library $(LIBVER) @$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -shared $^ -fPIC $(SONAME_FLAGS) -o $@.$(SHARED_EXT_VER) |