Skip to content

Commit

Permalink
MMAPI: build Sonivox module as static library (to avoid conflicts wit…
Browse files Browse the repository at this point in the history
…h built-in version)
  • Loading branch information
woesss committed Sep 10, 2023
1 parent 127aab3 commit fb1dab2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 3 additions & 1 deletion app/src/main/cpp/mmapi_eas/Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ LOCAL_C_INCLUDES := $(LOCAL_PATH) \

LOCAL_ARM_MODE := arm

LOCAL_SHARED_LIBRARIES := sonivox mmapi_common
LOCAL_SHARED_LIBRARIES := mmapi_common

LOCAL_STATIC_LIBRARIES := sonivox

ifeq ($(TARGET_ARCH_ABI),armeabi-v7a)
LOCAL_ARM_NEON := false
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/cpp/sonivox/Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -132,4 +132,4 @@ endif
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/include
LOCAL_EXPORT_CFLAGS := $(LOCAL_CFLAGS)

include $(BUILD_SHARED_LIBRARY)
include $(BUILD_STATIC_LIBRARY)
1 change: 0 additions & 1 deletion app/src/main/java/ru/woesss/j2me/mmapi/sonivox/EAS.java
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ class EAS {
System.loadLibrary("c++_shared");
System.loadLibrary("oboe");
System.loadLibrary("mmapi_common");
System.loadLibrary("sonivox");
System.loadLibrary("mmapi_eas");
}
}

0 comments on commit fb1dab2

Please sign in to comment.