lbry-android-sdk/p4a/pythonforandroid/recipes/png/build_shared_library.patch

18 lines
480 B
Diff
Raw Normal View History

2022-12-02 21:15:34 +01:00
diff --git a/jni/Android.mk b/jni/Android.mk
index df2ff1a..2f70985 100644
--- a/jni/Android.mk
+++ b/jni/Android.mk
@@ -26,8 +26,9 @@ LOCAL_SRC_FILES :=\
arm/filter_neon_intrinsics.c
#LOCAL_SHARED_LIBRARIES := -lz
-LOCAL_EXPORT_LDLIBS := -lz
+# LOCAL_EXPORT_LDLIBS := -lz
+LOCAL_LDLIBS := -lz
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/.
-#include $(BUILD_SHARED_LIBRARY)
-include $(BUILD_STATIC_LIBRARY)
+include $(BUILD_SHARED_LIBRARY)
+# include $(BUILD_STATIC_LIBRARY)