From 23ff40324344c5279a6daace3bc52e676c1477ec Mon Sep 17 00:00:00 2001 From: Jose Quaresma Date: Sun, 24 Jan 2021 18:07:56 +0000 Subject: glslang: enable shared libs (From OE-Core rev: 3355367f339c36161aced3e9fcbc38bca7915ada) Signed-off-by: Jose Quaresma Signed-off-by: Richard Purdie --- meta/recipes-graphics/glslang/glslang_11.1.0.bb | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'meta/recipes-graphics/glslang/glslang_11.1.0.bb') diff --git a/meta/recipes-graphics/glslang/glslang_11.1.0.bb b/meta/recipes-graphics/glslang/glslang_11.1.0.bb index f1cc966b2a..5e53f02b1c 100644 --- a/meta/recipes-graphics/glslang/glslang_11.1.0.bb +++ b/meta/recipes-graphics/glslang/glslang_11.1.0.bb @@ -15,4 +15,14 @@ S = "${WORKDIR}/git" inherit cmake python3native +EXTRA_OECMAKE = " \ + -DCMAKE_BUILD_TYPE=Release \ + -DBUILD_SHARED_LIBS=ON \ + -DENABLE_CTEST=OFF \ + -DBUILD_EXTERNAL=OFF \ +" + +SOLIBSDEV = "glslang.so" +FILES_${PN} += "${libdir}/*.so" + BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf