Skip to content

Commit a55c20d

Browse files
committed
update to current upstream
1 parent 516c796 commit a55c20d

File tree

23 files changed

+221
-67
lines changed

23 files changed

+221
-67
lines changed

msvc/.gitignore

Lines changed: 0 additions & 2 deletions
This file was deleted.

msvc/Dockerfile

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ubuntu:20.04
1+
FROM ubuntu:22.04
22

33
LABEL org.opencontainers.image.source https://github.com/DFHack/build-env
44

@@ -7,29 +7,27 @@ ARG BUILDER_UID=1001
77
# install dependencies and initialize the wine environment for root
88
RUN apt-get update \
99
&& apt-get upgrade -y \
10-
&& apt-get install -y wine64-development python3 msitools python3-simplejson python3-six ca-certificates \
10+
&& apt-get install -y wine64 python3 msitools ca-certificates \
1111
&& apt-get install -y git gcc-10 g++-10 ninja-build libxml-libxslt-perl make libssl-dev \
1212
&& apt-get install -y dh-autoreconf libcurl4-gnutls-dev libexpat1-dev gettext libz-dev \
1313
&& apt-get install -y wget curl unzip python3-pip \
1414
&& apt-get clean -y \
1515
&& rm -rf /var/lib/apt/lists/* \
1616
&& pip3 install --compile sphinx \
17+
&& pip3 install six \
1718
&& useradd --uid $BUILDER_UID --create-home --shell /bin/bash buildmaster \
18-
&& WINEDLLOVERRIDES="mscoree,mshtml=" wine64 wineboot --init \
19-
&& while pgrep wineserver >/dev/null; do sleep 1; done
19+
&& $(command -v wine64 || command -v wine || false) wineboot --init \
20+
&& while pgrep wineserver > /dev/null; do sleep 1; done
2021

2122
# set up msvc
2223
WORKDIR /opt/msvc
2324
COPY lowercase fixinclude install.sh vsdownload.py msvctricks.cpp ./
2425
COPY wrappers/* ./wrappers/
2526

26-
# This removes the arm and x86 bits to save space (around 5.5G)
2727
RUN PYTHONUNBUFFERED=1 ./vsdownload.py --accept-license --dest /opt/msvc \
2828
&& ./install.sh /opt/msvc \
2929
&& rm lowercase fixinclude install.sh vsdownload.py \
30-
&& rm -rf wrappers \
31-
&& find /opt/msvc -depth -type d -iregex '.*/.*arm[0-9]*$' -exec rm -fr {} \; \
32-
&& find /opt/msvc -depth -type d -iregex '.*/.*x86$' -exec rm -fr {} \;
30+
&& rm -rf wrappers
3331

3432
COPY msvcenv-native.sh /opt/msvc
3533

@@ -70,7 +68,7 @@ RUN mkdir /home/buildmaster/dfhack-native \
7068
&& mv dfhack-native-bin dfhack-native
7169

7270
# set up wine and ccache for the buildmaster user
73-
RUN WINEDLLOVERRIDES="mscoree,mshtml=" wine64 wineboot --init \
71+
RUN $(command -v wine64 || command -v wine || false) wineboot --init \
7472
&& wineserver -w \
7573
&& ccache -C
7674

msvc/wrappers/armasm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@
1414
# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
1515
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
1616

17-
. $(dirname $0)/msvcenv.sh
18-
$(dirname $0)/wine-msvc.sh $BINDIR/armasm.exe "$@"
17+
. "$(dirname "$0")"/msvcenv.sh
18+
"$(dirname "$0")"/wine-msvc.sh "$BINDIR"/armasm.exe "$@"

msvc/wrappers/armasm64

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@
1414
# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
1515
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
1616

17-
. $(dirname $0)/msvcenv.sh
18-
$(dirname $0)/wine-msvc.sh $BINDIR/armasm64.exe "$@"
17+
. "$(dirname "$0")"/msvcenv.sh
18+
"$(dirname "$0")"/wine-msvc.sh "$BINDIR"/armasm64.exe "$@"

msvc/wrappers/cl

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,19 @@
1414
# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
1515
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
1616

17-
. $(dirname $0)/msvcenv.sh
17+
. "$(dirname "$0")"/msvcenv.sh
1818

1919
# /showIncludes
2020
unixify_path='/^Note: including file: /{ s/z:([\\/])/\1/i; s,\\,/,g; }'
2121
# /E
2222
unixify_line='/^[[:blank:]]*#[[:blank:]]*line[[:blank:]]/{ s/z:([\\/])/\1/i; s,\\\\,/,g; }'
23+
# Warnings and Errors
24+
unixify_note='/^[zZ]:.*\([[:digit:]]+\): (note|error C[[:digit:]]{4}|warning C[[:digit:]]{4}): /{ s/z:([\\/])/\1/ig; s,\\,/,g; }'
2325

24-
export WINE_MSVC_STDOUT_SED="$unixify_path;$unixify_line"
26+
export WINE_MSVC_STDOUT_SED="$unixify_path;$unixify_line;$unixify_note"
2527
export WINE_MSVC_STDERR_SED="$unixify_path"
2628

27-
$(dirname $0)/wine-msvc.sh $BINDIR/cl.exe "$@"
29+
"$(dirname "$0")"/wine-msvc.sh "$BINDIR"/cl.exe "$@"
2830

2931
ec=$?
3032
[ $ec -ne 0 ] && exit $ec

msvc/wrappers/dumpbin

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@
1414
# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
1515
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
1616

17-
. $(dirname $0)/msvcenv.sh
17+
. "$(dirname "$0")"/msvcenv.sh
1818

1919
# /PDBPATH
2020
unixify_path='/^(Dump of file | PDB file found at )/{ s/z:([\\/])/\1/i; s,\\,/,g; }'
2121

2222
export WINE_MSVC_STDOUT_SED="$unixify_path"
2323

24-
$(dirname $0)/wine-msvc.sh $BINDIR/dumpbin.exe "$@"
24+
"$(dirname "$0")"/wine-msvc.sh "$BINDIR"/dumpbin.exe "$@"

msvc/wrappers/findstr

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#!/bin/bash
2+
#
3+
# Copyright (c) 2024 Huang Qinjin
4+
#
5+
# Permission to use, copy, modify, and/or distribute this software for any
6+
# purpose with or without fee is hereby granted, provided that the above
7+
# copyright notice and this permission notice appear in all copies.
8+
#
9+
# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10+
# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11+
# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12+
# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13+
# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14+
# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15+
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16+
17+
exec grep "$@"

msvc/wrappers/findstr.exe

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
findstr

msvc/wrappers/lib

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@
1414
# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
1515
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
1616

17-
. $(dirname $0)/msvcenv.sh
18-
$(dirname $0)/wine-msvc.sh $BINDIR/lib.exe "$@"
17+
. "$(dirname "$0")"/msvcenv.sh
18+
"$(dirname "$0")"/wine-msvc.sh "$BINDIR"/lib.exe "$@"

msvc/wrappers/link

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@
1414
# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
1515
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
1616

17-
. $(dirname $0)/msvcenv.sh
18-
$(dirname $0)/wine-msvc.sh $BINDIR/link.exe "$@"
17+
. "$(dirname "$0")"/msvcenv.sh
18+
"$(dirname "$0")"/wine-msvc.sh "$BINDIR"/link.exe "$@"

msvc/wrappers/mc

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
#!/bin/bash
2+
#
3+
# Copyright (c) 2018 Martin Storsjo
4+
#
5+
# Permission to use, copy, modify, and/or distribute this software for any
6+
# purpose with or without fee is hereby granted, provided that the above
7+
# copyright notice and this permission notice appear in all copies.
8+
#
9+
# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10+
# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11+
# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12+
# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13+
# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14+
# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15+
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16+
17+
. "$(dirname "$0")"/msvcenv.sh
18+
"$(dirname "$0")"/wine-msvc.sh "$SDKBINDIR"/mc.exe "$@"

msvc/wrappers/mc.exe

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
mc

msvc/wrappers/midl

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
#!/bin/bash
2+
#
3+
# Copyright (c) 2018 Martin Storsjo
4+
#
5+
# Permission to use, copy, modify, and/or distribute this software for any
6+
# purpose with or without fee is hereby granted, provided that the above
7+
# copyright notice and this permission notice appear in all copies.
8+
#
9+
# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10+
# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11+
# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12+
# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13+
# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14+
# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15+
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16+
17+
. "$(dirname "$0")"/msvcenv.sh
18+
"$(dirname "$0")"/wine-msvc.sh "$SDKBINDIR"/midl.exe "$@"

msvc/wrappers/midl.exe

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
midl

msvc/wrappers/ml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@
1414
# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
1515
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
1616

17-
. $(dirname $0)/msvcenv.sh
18-
$(dirname $0)/wine-msvc.sh $BINDIR/ml.exe "$@"
17+
. "$(dirname "$0")"/msvcenv.sh
18+
"$(dirname "$0")"/wine-msvc.sh "$BINDIR"/ml.exe "$@"

msvc/wrappers/ml64

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@
1414
# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
1515
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
1616

17-
. $(dirname $0)/msvcenv.sh
18-
$(dirname $0)/wine-msvc.sh $BINDIR/ml64.exe "$@"
17+
. "$(dirname "$0")"/msvcenv.sh
18+
"$(dirname "$0")"/wine-msvc.sh "$BINDIR"/ml64.exe "$@"

msvc/wrappers/msbuild

Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,96 @@
1+
#!/bin/bash
2+
#
3+
# Copyright (c) 2024 Sergey Kvachonok
4+
#
5+
# Permission to use, copy, modify, and/or distribute this software for any
6+
# purpose with or without fee is hereby granted, provided that the above
7+
# copyright notice and this permission notice appear in all copies.
8+
#
9+
# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10+
# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11+
# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12+
# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13+
# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14+
# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15+
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16+
17+
. "$(dirname "$0")"/msvcenv.sh
18+
19+
# By default, the platform-specific settings for the current project override
20+
# the PATH, INCLUDE, LIB, LIBPATH, CONFIGURATION, and PLATFORM environment
21+
# variables. Set the 'UseEnv' property to true to guarantee that the environment
22+
# variables don't get overridden.
23+
#
24+
# https://learn.microsoft.com/en-us/cpp/build/reference/msbuild-visual-cpp-overview?view=msvc-170#useenv-property
25+
#export UseEnv=true
26+
27+
# Do not try to find the VC and Windows SDK install paths in the Registry.
28+
export DisableRegistryUse=true
29+
30+
# Set these MSBuild properties using environment variables so that MSVC project
31+
# builds work the same with both `UseEnv=true` and `UseEnv=false`.
32+
#
33+
# These properties are used in various .props files found in `MSBuild/Microsoft/VC/v170`.
34+
export VCToolsVersion="$MSVCVER"
35+
export VCInstallDir_170="${MSVCBASE}\\"
36+
export VCToolsInstallDir_170="${MSVCDIR}\\"
37+
38+
export MicrosoftKitRoot="${BASE}\\"
39+
export SDKReferenceDirectoryRoot="$MicrosoftKitRoot"
40+
export SDKExtensionDirectoryRoot="$MicrosoftKitRoot"
41+
42+
# These environment variables are used by the native API
43+
# `[Microsoft.Build.Utilities.ToolLocationHelper]::GetLatestSDKTargetPlatformVersion()`.
44+
# See https://learn.microsoft.com/en-us/dotnet/api/microsoft.build.utilities.toollocationhelper.getlatestsdktargetplatformversion?view=msbuild-17-netcore
45+
export MSBUILDSDKREFERENCEDIRECTORY="$MicrosoftKitRoot"
46+
export MSBUILDMULTIPLATFORMSDKREFERENCEDIRECTORY="$MicrosoftKitRoot"
47+
48+
# Set these manually because the above kit search does not always work.
49+
export WindowsSdkDir_10="${SDKBASE}\\"
50+
export UniversalCRTSdkDir_10="$WindowsSdkDir_10"
51+
export WindowsSdkDir="$WindowsSdkDir_10"
52+
export UniversalCRTSdkDir="$UniversalCRTSdkDir_10"
53+
export WindowsTargetPlatformVersion="$SDKVER"
54+
export UCRTContentRoot="$UniversalCRTSdkDir_10"
55+
# These should point to the NETFX SDK, which may or may not be located
56+
# in the common Windows SDK directory.
57+
export NETFXKitsDir="$WindowsSdkDir"
58+
export NETFXSDKDir="$WindowsSdkDir"
59+
60+
# WDK-specific properties:
61+
export WDKKitVersion="10"
62+
# No spectre-mitigated libraries in this SDK.
63+
export Driver_SpectreMitigation=false
64+
# Driver signing does not work with WINE crypto libraries.
65+
export SignMode=off
66+
export Inf2CatNoCatalog=true
67+
# API Validator crashes in WINE.
68+
export ApiValidator_Enable=False
69+
70+
# Set MSBuild-specific Platform property via an environment variable.
71+
# 'Platform' property names do not match ARCH names exactly.
72+
#
73+
# https://learn.microsoft.com/en-us/cpp/build/reference/msbuild-visual-cpp-overview?view=msvc-170#support-file-directories
74+
# https://learn.microsoft.com/en-us/cpp/build/reference/vcxproj-file-structure?view=msvc-170#projectconfiguration-elements
75+
case ${ARCH} in
76+
x86)
77+
export Platform=Win32
78+
;;
79+
arm)
80+
export Platform=ARM
81+
;;
82+
arm64)
83+
export Platform=ARM64
84+
;;
85+
*)
86+
export Platform=${ARCH}
87+
;;
88+
esac
89+
90+
if [[ "${MSBUILDBINDIR}" == *amd64 ]]; then
91+
# Prefer x86_64 build tools for any target arch.
92+
export PreferredToolArchitecture=x64
93+
fi
94+
95+
export WINE_MSVC_RAW_STDOUT=1
96+
"$(dirname "$0")"/wine-msvc.sh "${MSBUILDBINDIR}"/MSBuild.exe "$@"

msvc/wrappers/msbuild.exe

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
msbuild

msvc/wrappers/msvcenv.sh

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,16 @@ BASE=z:${BASE_UNIX//\//\\}
2626
MSVCVER=14.13.26128
2727
SDKVER=10.0.16299.0
2828
ARCH=x86
29-
MSVCDIR="$BASE\\vc\\tools\\msvc\\$MSVCVER"
30-
SDKINCLUDE="$BASE\\$SDK\\include\\$SDKVER"
31-
SDKLIB="$BASE\\$SDK\\lib\\$SDKVER"
29+
MSVCBASE="$BASE\\vc"
30+
SDKBASE="$BASE\\$SDK"
31+
MSVCDIR="$MSVCBASE\\tools\\msvc\\$MSVCVER"
32+
SDKINCLUDE="$SDKBASE\\include\\$SDKVER"
33+
SDKLIB="$SDKBASE\\lib\\$SDKVER"
3234
BINDIR=$BASE_UNIX/vc/tools/msvc/$MSVCVER/bin/Hostx64/$ARCH
3335
SDKBINDIR=$BASE_UNIX/$SDK_UNIX/bin/$SDKVER/x64
34-
export INCLUDE="$MSVCDIR\\include;$SDKINCLUDE\\shared;$SDKINCLUDE\\ucrt;$SDKINCLUDE\\um;$SDKINCLUDE\\winrt"
35-
export LIB="$MSVCDIR\\lib\\$ARCH;$SDKLIB\\ucrt\\$ARCH;$SDKLIB\\um\\$ARCH"
36+
MSBUILDBINDIR=$BASE_UNIX/MSBuild/Current/Bin/amd64
37+
export INCLUDE="$MSVCDIR\\atlmfc\\include;$MSVCDIR\\include;$SDKINCLUDE\\shared;$SDKINCLUDE\\ucrt;$SDKINCLUDE\\um;$SDKINCLUDE\\winrt;$SDKINCLUDE\\km"
38+
export LIB="$MSVCDIR\\atlmfc\\lib\\$ARCH;$MSVCDIR\\lib\\$ARCH;$SDKLIB\\ucrt\\$ARCH;$SDKLIB\\um\\$ARCH;$SDKLIB\\km\\$ARCH"
3639
export LIBPATH="$LIB"
3740
# "$MSVCDIR\\bin\\Hostx64\\x64" is included in PATH for DLLs.
3841
export WINEPATH="${BINDIR//\//\\};${SDKBINDIR//\//\\};$MSVCDIR\\bin\\Hostx64\\x64"

msvc/wrappers/mt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@
1414
# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
1515
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
1616

17-
. $(dirname $0)/msvcenv.sh
18-
$(dirname $0)/wine-msvc.sh $SDKBINDIR/mt.exe "$@"
17+
. "$(dirname "$0")"/msvcenv.sh
18+
"$(dirname "$0")"/wine-msvc.sh "$SDKBINDIR"/mt.exe "$@"

msvc/wrappers/nmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@
1414
# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
1515
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
1616

17-
. $(dirname $0)/msvcenv.sh
18-
$(dirname $0)/wine-msvc.sh $BINDIR/nmake.exe "$@"
17+
. "$(dirname "$0")"/msvcenv.sh
18+
"$(dirname "$0")"/wine-msvc.sh "$BINDIR"/nmake.exe "$@"

msvc/wrappers/rc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@
1414
# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
1515
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
1616

17-
. $(dirname $0)/msvcenv.sh
18-
$(dirname $0)/wine-msvc.sh $SDKBINDIR/rc.exe "$@"
17+
. "$(dirname "$0")"/msvcenv.sh
18+
"$(dirname "$0")"/wine-msvc.sh "$SDKBINDIR"/rc.exe "$@"

0 commit comments

Comments
 (0)