diff mbox series

[oe,meta-oe,v2] glfw: Update to latest

Message ID 20191231190739.1277128-1-raj.khem@gmail.com
State Accepted
Commit cc7eb45fb5099d64b9c468b24ab5cddbd08834ca
Headers show
Series [oe,meta-oe,v2] glfw: Update to latest | expand

Commit Message

Khem Raj Dec. 31, 2019, 7:07 p.m. UTC
Disable docs which needs doxygen
FPIC is needed for arches like aarch64 when building shared objects

Signed-off-by: Khem Raj <raj.khem@gmail.com>

---
v2: Fix commit msg and PV append

 meta-oe/recipes-core/glfw/glfw_3.3.bb | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

-- 
2.24.1

-- 
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
diff mbox series

Patch

diff --git a/meta-oe/recipes-core/glfw/glfw_3.3.bb b/meta-oe/recipes-core/glfw/glfw_3.3.bb
index 0ceeba1f19..0fcf716c8e 100644
--- a/meta-oe/recipes-core/glfw/glfw_3.3.bb
+++ b/meta-oe/recipes-core/glfw/glfw_3.3.bb
@@ -10,11 +10,15 @@  SECTION = "lib"
 
 inherit pkgconfig cmake features_check
 
-S = "${WORKDIR}/git"
+PV .= "+git${SRCPV}"
+SRCREV = "781fbbadb0bccc749058177b1385c82da9ace880"
 SRC_URI = "git://github.com/glfw/glfw.git"
-SRCREV = "d25248343e248337284dfbe5ecd1eddbd37ae66d"
 
-EXTRA_OECMAKE += "-DBUILD_SHARED_LIBS=ON"
+S = "${WORKDIR}/git"
+
+EXTRA_OECMAKE += "-DBUILD_SHARED_LIBS=ON -DGLFW_BUILD_DOCS=OFF"
+
+CFLAGS += "-fPIC"
 
 DEPENDS = "libpng libglu zlib libxrandr libxinerama libxi libxcursor"
 REQUIRED_DISTRO_FEATURES = "x11 opengl"