--- Makefile.common.orig 2011-10-05 01:29:42 UTC +++ Makefile.common @@ -50,8 +50,8 @@ endif 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 :=