From b426675061741fe0beccb029f19a43fff99dda98 Mon Sep 17 00:00:00 2001 From: fyrz Date: Mon, 1 Dec 2014 19:01:29 +0100 Subject: [PATCH] [RocksJava] MacOSX strip support --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 0b12d90b0..513659900 100644 --- a/Makefile +++ b/Makefile @@ -609,7 +609,7 @@ rocksdbjavastatic: libz.a libbz2.a libsnappy.a cd java;$(MAKE) javalib; rm -f ./java/$(ROCKSDBJNILIB) $(CXX) $(CXXFLAGS) -I./java/. $(JAVA_INCLUDE) -shared -fPIC -o ./java/$(ROCKSDBJNILIB) $(JNI_NATIVE_SOURCES) $(LIBOBJECTS) $(COVERAGEFLAGS) libz.a libbz2.a libsnappy.a - cd java;strip $(ROCKSDBJNILIB) + cd java;strip -S -x $(ROCKSDBJNILIB) cd java;jar -cf $(ROCKSDB_JAR) org/rocksdb/*.class org/rocksdb/util/*.class HISTORY*.md $(ROCKSDBJNILIB) cd java/javadoc;jar -cf ../$(ROCKSDB_JAVADOCS_JAR) * cd java;jar -cf $(ROCKSDB_SOURCES_JAR) org