diff --git a/Makefile.common b/Makefile.common index 661ef6a..f5f0fd0 100755 --- a/Makefile.common +++ b/Makefile.common @@ -72,14 +72,14 @@ Linux-amd64_SNAPPY_FLAGS := Mac-i386_CXX := g++ -arch $(OS_ARCH) Mac-i386_STRIP := strip -x Mac-i386_CXXFLAGS := -I$(JAVA_HOME)/include -O2 -fPIC -mmacosx-version-min=10.4 -Mac-i386_LINKFLAGS := -dynamiclib +Mac-i386_LINKFLAGS := -dynamiclib -static-libgcc Mac-i386_LIBNAME := libsnappy.jnilib Mac-i386_SNAPPY_FLAGS := Mac-x86_64_CXX := g++ -arch $(OS_ARCH) Mac-x86_64_STRIP := strip -x Mac-x86_64_CXXFLAGS := -I$(JAVA_HOME)/include -O2 -fPIC -mmacosx-version-min=10.5 -Mac-x86_64_LINKFLAGS := -dynamiclib +Mac-x86_64_LINKFLAGS := -dynamiclib -static-libgcc Mac-x86_64_LIBNAME := libsnappy.jnilib Mac-x86_64_SNAPPY_FLAGS := diff --git a/src/main/resources/org/xerial/snappy/native/Mac/x86_64/libsnappy.jnilib b/src/main/resources/org/xerial/snappy/native/Mac/x86_64/libsnappy.jnilib index d722d5d..d9fc1b8 100755 Binary files a/src/main/resources/org/xerial/snappy/native/Mac/x86_64/libsnappy.jnilib and b/src/main/resources/org/xerial/snappy/native/Mac/x86_64/libsnappy.jnilib differ