From 18d1dd3c7890aa00a97be8b882d958c60bbe3d55 Mon Sep 17 00:00:00 2001 From: Jeremy Soller <jackpot51@gmail.com> Date: Thu, 12 Jan 2023 21:17:54 -0700 Subject: [PATCH] Add libstdc++ to osmesa pkg-config libs --- recipes/mesa/recipe.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/recipes/mesa/recipe.toml b/recipes/mesa/recipe.toml index 3b01cd5e6..18688f35c 100644 --- a/recipes/mesa/recipe.toml +++ b/recipes/mesa/recipe.toml @@ -57,7 +57,8 @@ meson "${COOKBOOK_SOURCE}" . \ -Dshared-glapi=disabled ninja -v DESTDIR="${COOKBOOK_STAGE}" ninja install + # Hack to add LLVM libs #TODO: only add necessary LLVM libs, not all of them -sed -i "s/ -lOSMesa / -lOSMesa $("${TARGET}-llvm-config" --libs) /" "${COOKBOOK_STAGE}/lib/pkgconfig/osmesa.pc" +sed -i "s/ -lOSMesa / -lOSMesa $("${TARGET}-llvm-config" --libs) -lstdc++ /" "${COOKBOOK_STAGE}/lib/pkgconfig/osmesa.pc" """ -- GitLab