diff --git a/recipes/iced/recipe.toml b/recipes/iced/recipe.toml index 8d8ea507514d16c93cf01ff73cb0f4a721ec873d..2dfd3f8e6299dd867f1cb636cb6fef6310198ae3 100644 --- a/recipes/iced/recipe.toml +++ b/recipes/iced/recipe.toml @@ -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" """