Merge pull request #429 from fyrz/RocksJava-MacOSX-strip-fix

[RocksJava] MacOSX strip support
main
Igor Canadi 10 years ago
commit 9a632b4a92
  1. 2
      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

Loading…
Cancel
Save