Embed libstdc++ for linux 64-bit binary

This commit is contained in:
Taro L. Saito 2013-02-20 02:39:06 +09:00
parent 5894472dc2
commit ff8000ed5b
2 changed files with 2 additions and 2 deletions

View File

@ -68,8 +68,8 @@ Linux-i386_SNAPPY_FLAGS:=
Linux-amd64_CXX := $(CROSS_PREFIX)g++
Linux-amd64_STRIP := $(CROSS_PREFIX)strip
Linux-amd64_CXXFLAGS := -include lib/inc_linux/jni_md.h -I$(JAVA_HOME)/include -O2 -fPIC -fvisibility=hidden -m64
Linux-amd64_LINKFLAGS := -shared -static-libgcc #-static-libstdc++
Linux-amd64_LIBNAME := libsnappyjava.so
Linux-amd64_LINKFLAGS := -shared -static-libgcc -static-libstdc++
Linux-amd64_LIBNAME := libsnappyjava.so
Linux-amd64_SNAPPY_FLAGS :=
# '-include lib/inc_linux/jni_md.h' is used to force the use of our version,