Fix compilation of iced recipe

This commit is contained in:
Jeremy Soller 2022-12-05 14:29:02 -07:00
parent 9a17505d3e
commit 6545cf036d
No known key found for this signature in database
GPG Key ID: 87F211AF2BE4C2FE

View File

@ -17,7 +17,7 @@ script = """
--package styling \
-- \
-L "${COOKBOOK_SYSROOT}/lib" \
-C link-args="-Wl,-Bstatic $("${PKG_CONFIG}" --libs osmesa) -lz -lstdc++ -lc -lgcc"
-C link-args="-Wl,-Bstatic $("${TARGET}-pkg-config" --libs osmesa) -lz -lstdc++ -lc -lgcc"
mkdir -pv "${COOKBOOK_STAGE}/bin"
cp -v "target/${TARGET}/release/styling" "${COOKBOOK_STAGE}/bin/iced"
"""