diff --git a/recipes/libs/mesa/recipe.toml b/recipes/libs/mesa/recipe.toml index d473cc8c2..d581c1b31 100644 --- a/recipes/libs/mesa/recipe.toml +++ b/recipes/libs/mesa/recipe.toml @@ -13,8 +13,8 @@ dependencies = [ script = """ DYNAMIC_INIT -export CFLAGS+="-I${COOKBOOK_SYSROOT}/include -DHAVE_PTHREAD=1" -export CPPFLAGS+="-I${COOKBOOK_SYSROOT}/include -DHAVE_PTHREAD=1" +export CFLAGS+=" -DHAVE_PTHREAD=1" +export CPPFLAGS+=" -DHAVE_PTHREAD=1" export LLVM_CONFIG="${TARGET}-llvm-config" if [[ -n "${COOKBOOK_PREFER_STATIC}" ]]; then