summaryrefslogtreecommitdiff
path: root/archivers/snappy-java/files/patch-likelinux
blob: 8c674a37d20562da09cb6dc0187b626e561e7594 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- 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 :=