Set CROSSCOMPILE for mono only

This commit is contained in:
Jackson Schuster 2023-12-14 09:44:47 -08:00
parent 832d122c61
commit 916aa0241a

View file

@ -246,6 +246,9 @@ jobs:
if [[ ! -z '${{ parameters.crossRootFs }}' ]]; then
customRunArgs="$customRunArgs -e ROOTFS_DIR=${{ parameters.crossRootFs}}"
extraBuildProperties="$extraBuildProperties /p:PortableBuild=true /p:DotNetBuildVertical=true /p:CrossBuild=true"
if [[ '${{ parameters.useMonoRuntime }}' == 'True' ]]; then
customBuildArgs="$customRunArgs -e CROSSCOMPILE=1"
fi
fi
if [[ ! -z '${{ parameters.targetRid }}' ]]; then