From: Alexis Laferrière Date: Wed, 16 Sep 2015 11:50:19 +0000 (-0400) Subject: src/android: do not link with libpng X-Git-Tag: v0.8~83^2~5 X-Git-Url: http://nitlanguage.org src/android: do not link with libpng Signed-off-by: Alexis Laferrière --- diff --git a/src/platform/android.nit b/src/platform/android.nit index f1d1476..20e1f3a 100644 --- a/src/platform/android.nit +++ b/src/platform/android.nit @@ -170,7 +170,7 @@ LOCAL_MODULE := main LOCAL_SRC_FILES := \\ {{{cfiles.join(" \\\n")}}} LOCAL_LDLIBS := {{{ldflags.join(" ")}}} $(TARGET_ARCH)/libgc.a -LOCAL_STATIC_LIBRARIES := android_native_app_glue png +LOCAL_STATIC_LIBRARIES := android_native_app_glue include $(BUILD_SHARED_LIBRARY) @@ -236,10 +236,6 @@ $(call import-module,android/native_app_glue) exit 1 end share_dir = share_dir.realpath - var target_png_dir = "{android_project_root}/jni/png" - if not target_png_dir.file_exists then - toolcontext.exec_and_check(["ln", "-s", "{share_dir}/png/", target_png_dir], "Android project error") - end # Ensure that android-setup-libgc.sh has been executed if not "{share_dir}/libgc/arm/lib".file_exists then