From fb42029128afad39f9bb02f7641a601c2db7c69f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Alexis=20Laferri=C3=A8re?= Date: Wed, 28 Jan 2015 09:52:36 -0500 Subject: [PATCH] lib: update portable modules with ldflags specific to Android MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Alexis Laferrière --- lib/egl.nit | 7 ++++++- lib/glesv2/glesv2.nit | 2 ++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/lib/egl.nit b/lib/egl.nit index 5c50387..4e36cd0 100644 --- a/lib/egl.nit +++ b/lib/egl.nit @@ -21,7 +21,12 @@ # C library. If a method or class is not documented in Nit, refer to # the official documentation by the Khronos Group at: # http://www.khronos.org/registry/egl/sdk/docs/man/xhtml/ -module egl is pkgconfig +module egl is + pkgconfig + ldflags("-lEGL")@android +end + +import android::aware in "C Header" `{ #include diff --git a/lib/glesv2/glesv2.nit b/lib/glesv2/glesv2.nit index 06803ae..ca7faf1 100644 --- a/lib/glesv2/glesv2.nit +++ b/lib/glesv2/glesv2.nit @@ -33,8 +33,10 @@ module glesv2 is pkgconfig new_annotation glsl_vertex_shader new_annotation glsl_fragment_shader + ldflags("-lGLESv2")@android end +import android::aware in "C Header" `{ #include -- 1.7.9.5