[WRT-PLUGINS-TIZEN]: Fix build
authorBaptiste DURAND <Baptiste.durand@gmail.com>
Mon, 16 Sep 2013 11:59:19 +0000 (13:59 +0200)
committerBaptiste DURAND <Baptiste.durand@gmail.com>
Mon, 16 Sep 2013 11:59:19 +0000 (13:59 +0200)
meta-wrt-tizen/recipes-wrt/wrt-plugins-tizen/wrt-plugins-tizen-extraconf.inc
meta-wrt-tizen/recipes-wrt/wrt-plugins-tizen/wrt-plugins-tizen/LinkFlagsGLES.patch [new file with mode: 0644]

diff --git a/meta-wrt-tizen/recipes-wrt/wrt-plugins-tizen/wrt-plugins-tizen/LinkFlagsGLES.patch b/meta-wrt-tizen/recipes-wrt/wrt-plugins-tizen/wrt-plugins-tizen/LinkFlagsGLES.patch
new file mode 100644 (file)
index 0000000..317854a
--- /dev/null
@@ -0,0 +1,21 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index d0022ce..7c87386 100755
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -5,7 +5,7 @@ PROJECT(wrt-plugins-tizen)
+ # Required platform modules
+ # -----------------------------------------------------------------------------
+ INCLUDE(FindPkgConfig)
+-
++PKG_CHECK_MODULES(glesv2 REQUIRED glesv2)
+ PKG_CHECK_MODULES(webkit2 REQUIRED ewebkit2)
+ PKG_CHECK_MODULES(dpl REQUIRED dpl-efl)
+ PKG_CHECK_MODULES(dpl-event REQUIRED dpl-event-efl)
+@@ -154,6 +154,7 @@ SET(LIBS_COMMON
+     ${dpl_LDFLAGS}
+     ${dpl-event_LDFLAGS}
+     ${webkit2_LDFLAGS}
++    ${glesv2_LDFLAGS}
+     ${wrt-deviceapis-commons_LDFLAGS}
+     ${wrt-deviceapis-commons-javascript_LDFLAGS}
+ )