diff --git a/Makefile b/Makefile index 0c329e1..807ef20 100644 --- a/Makefile +++ b/Makefile @@ -77,7 +77,7 @@ win32: $(MAKE) native CXX=mingw32-g++ OS_NAME=Windows OS_ARCH=x86 mac32: - $(MAKE) native CXX=g++ OS_NAME=Mac OS_ARCH=i386 + $(MAKE) native OS_NAME=Mac OS_ARCH=i386 linux32: $(MAKE) native OS_NAME=Linux OS_ARCH=i386 diff --git a/Makefile.common b/Makefile.common index ad416c2..661ef6a 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 -static-libgcc +Mac-i386_LINKFLAGS := -dynamiclib 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 -static-libgcc +Mac-x86_64_LINKFLAGS := -dynamiclib 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 47d682b..d722d5d 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