src/android: do not link with libpng
authorAlexis Laferrière <alexis.laf@xymus.net>
Wed, 16 Sep 2015 11:50:19 +0000 (07:50 -0400)
committerAlexis Laferrière <alexis.laf@xymus.net>
Mon, 16 Nov 2015 22:45:01 +0000 (17:45 -0500)
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

src/platform/android.nit

index f1d1476..20e1f3a 100644 (file)
@@ -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