File tree 4 files changed +8
-3
lines changed
resources/org/xerial/snappy/native/AIX/ppc64
4 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ $(TARGET)/jni-classes/org/xerial/snappy/SnappyNative.class : $(SRC)/org/xerial/s
56
56
$(JAVAC ) -source 1.6 -target 1.6 -d $(TARGET ) /jni-classes -sourcepath $(SRC ) $<
57
57
58
58
$(SRC ) /org/xerial/snappy/SnappyNative.h : $(TARGET ) /jni-classes/org/xerial/snappy/SnappyNative.class
59
- $(JAVAH ) -force -classpath $(TARGET ) /classes -o $@ org.xerial.snappy.SnappyNative
59
+ $(JAVAH ) -force -classpath $(TARGET ) /jni- classes -o $@ org.xerial.snappy.SnappyNative
60
60
61
61
ifndef USE_GIT
62
62
$(SNAPPY_SRC ) : $(SNAPPY_UNPACKED )
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ CROSS_PREFIX :=
66
66
Default_CXX := $(CROSS_PREFIX)g++
67
67
Default_STRIP := $(CROSS_PREFIX)strip
68
68
Default_CXXFLAGS := -I$(JAVA_HOME)/include -Ilib/inc_mac -O2 -fPIC -fvisibility=hidden
69
- Default_LINKFLAGS := -shared -static
69
+ Default_LINKFLAGS := -shared -static -lcrypt
70
70
Default_LIBNAME := libsnappyjava.so
71
71
Default_SNAPPY_FLAGS :=
72
72
Original file line number Diff line number Diff line change @@ -140,7 +140,12 @@ else if (osName.contains("Mac")) {
140
140
else if (osName .contains ("Linux" )) {
141
141
return "Linux" ;
142
142
}
143
- else {
143
+
144
+
145
+ else if ( osName .contains ("AIX" )) {
146
+ return "AIX" ;
147
+ }
148
+ else {
144
149
return osName .replaceAll ("\\ W" , "" );
145
150
}
146
151
}
You can’t perform that action at this time.
0 commit comments