Skip to content

Commit 707274b

Browse files
author
vboxuser
committed
save
1 parent 8960ad6 commit 707274b

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

client/cmd/bisonw-desktop/windows/Dockerfile

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,12 +62,14 @@ ENV CXX=x86_64-w64-mingw32-g++
6262
ENV CGO_CXXFLAGS="-I/tmp/winsdk"
6363

6464
RUN if [ "$XMR" = "1" ]; then \
65-
go build -v -tags xmr -ldflags="-H windowsgui -extldflags -static" -o /out/bisonw-desktop.exe; \
65+
go build -v -tags xmr -ldflags="-H windowsgui" -o /out/bisonw-desktop.exe; \
6666
else \
67-
go build -v -ldflags="-H windowsgui -extldflags -static" -o /out/bisonw-desktop.exe; \
67+
go build -v -ldflags="-H windowsgui" -o /out/bisonw-desktop.exe; \
6868
fi
6969

70-
RUN cp /tmp/webview2/runtimes/win-x64/native/WebView2Loader.dll /out/
70+
# Bundle runtime DLLs that are not present on a stock Windows install.
71+
RUN cp /tmp/webview2/runtimes/win-x64/native/WebView2Loader.dll /out/ && \
72+
cp /usr/x86_64-w64-mingw32/lib/libwinpthread-1.dll /out/
7173

7274
RUN if [ "$XMR" = "1" ]; then \
7375
cp /src/client/asset/xmr/lib/windows-amd64/libwallet2_api_c.dll /out/; \

0 commit comments

Comments
 (0)