--- Makefile.common.orig 2011-10-05 03:29:42.000000000 +0200 +++ Makefile.common 2013-05-13 02:19:31.000000000 +0200 @@ -50,8 +50,8 @@ Default_CXX := g++ Default_STRIP := strip -Default_CXXFLAGS := -I$(JAVA_HOME)/include -Ilib/inc_mac -O2 -fPIC -fvisibility=hidden -Default_LINKFLAGS := -shared -static +Default_CXXFLAGS := -Ilib/inc_linux -I$(JAVA_HOME)/include -Ilib/inc_mac -O2 -fPIC -fvisibility=hidden +Default_LINKFLAGS := -lc -shared Default_LIBNAME := libsnappyjava.so Default_SNAPPY_FLAGS :=