]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
glslang: enable shared libs
authorJose Quaresma <quaresma.jose@gmail.com>
Sun, 24 Jan 2021 18:07:56 +0000 (18:07 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 29 Jan 2021 15:59:33 +0000 (15:59 +0000)
Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-graphics/glslang/glslang_11.1.0.bb

index f1cc966b2aafbf4a83460bd7fcf64a569402b103..5e53f02b1c99eecfe2844db0ea982d5cef8b3be4 100644 (file)
@@ -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"