diff --git a/Makefile.common b/Makefile.common index 97e8689..01f6d28 100755 --- a/Makefile.common +++ b/Makefile.common @@ -65,7 +65,7 @@ Linux-i386_SNAPPY_FLAGS:= Linux-amd64_CXX := g++ Linux-amd64_STRIP := strip Linux-amd64_CXXFLAGS := -I$(JAVA_HOME)/include -Ilib/inc_mac -O2 -fPIC -Linux-amd64_LINKFLAGS := -shared -static +Linux-amd64_LINKFLAGS := -shared -static-libgcc Linux-amd64_LIBNAME := libsnappy.so Linux-amd64_SNAPPY_FLAGS := @@ -92,8 +92,6 @@ Windows-x86_SNAPPY_FLAGS := Windows-amd64_CXX := x86_64-w64-mingw32-g++ Windows-amd64_STRIP := x86_64-w64-mingw32-strip -#Windows-amd64_CXX := i686-w64-mingw32-g++ -#Windows-amd64_STRIP := i686-w64-mingw32-strip Windows-amd64_CXXFLAGS := -Ilib/inc_win -O2 Windows-amd64_LINKFLAGS := -Wl,--kill-at -shared -static Windows-amd64_LIBNAME := snappy.dll diff --git a/src/main/resources/org/xerial/snappy/native/Linux/amd64/libsnappy.so b/src/main/resources/org/xerial/snappy/native/Linux/amd64/libsnappy.so new file mode 100755 index 0000000..86e162f Binary files /dev/null and b/src/main/resources/org/xerial/snappy/native/Linux/amd64/libsnappy.so differ