diff --git a/.azure/templates/build-test.yml b/.azure/templates/build-test.yml index d143c71f18..9f92738cef 100644 --- a/.azure/templates/build-test.yml +++ b/.azure/templates/build-test.yml @@ -119,7 +119,7 @@ steps: fi crosscompiling= if [[ "${SHAREDLIBS:-on}" == "off" ]] ; then - prefix_path="${prefix_path}:../build-sharedlibs/install" + PATH="${BUILD_SOURCESDIRECTORY}/build-sharedlibs/install/bin:${PATH}" crosscompiling="-DCMAKE_CROSSCOMPILING=1 -DCMAKE_SYSTEM_NAME=${AGENT_OS}" fi cmake -DCMAKE_BUILD_TYPE=${BUILD_TYPE} \