diff options
-rwxr-xr-x | build-test.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/build-test.sh b/build-test.sh index a0ba5da53c..86472d1d73 100755 --- a/build-test.sh +++ b/build-test.sh @@ -472,8 +472,8 @@ build_native_projects() if [ $__SkipConfigure == 0 ]; then # if msbuild is not supported, then set __SkipGenerateVersion to 1 if [ $__isMSBuildOnNETCoreSupported == 0 ]; then __SkipGenerateVersion=1; fi - # Drop version.cpp file - __versionSourceFile="$intermediatesForBuild/version.cpp" + # Drop version.c file + __versionSourceFile="$intermediatesForBuild/version.c" if [ $__SkipGenerateVersion == 0 ]; then pwd $__ProjectRoot/dotnet.sh msbuild /nologo /verbosity:minimal /clp:Summary \ @@ -484,7 +484,7 @@ build_native_projects() /l:BinClashLogger,Tools/Microsoft.DotNet.Build.Tasks.dll\;LogFile=binclash.log \ $__CommonMSBuildArgs $__UnprocessedBuildArgs else - # Generate the dummy version.cpp, but only if it didn't exist to make sure we don't trigger unnecessary rebuild + # Generate the dummy version.c, but only if it didn't exist to make sure we don't trigger unnecessary rebuild __versionSourceLine="static char sccsid[] __attribute__((used)) = \"@(#)No version information produced\";" if [ -e $__versionSourceFile ]; then read existingVersionSourceLine < $__versionSourceFile |