mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-07-03 10:08:45 +08:00
Add libstdc++ to osmesa pkg-config libs
This commit is contained in:
parent
36f9511b7f
commit
18d1dd3c78
@ -57,7 +57,8 @@ meson "${COOKBOOK_SOURCE}" . \
|
|||||||
-Dshared-glapi=disabled
|
-Dshared-glapi=disabled
|
||||||
ninja -v
|
ninja -v
|
||||||
DESTDIR="${COOKBOOK_STAGE}" ninja install
|
DESTDIR="${COOKBOOK_STAGE}" ninja install
|
||||||
|
|
||||||
# Hack to add LLVM libs
|
# Hack to add LLVM libs
|
||||||
#TODO: only add necessary LLVM libs, not all of them
|
#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"
|
||||||
"""
|
"""
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user