File tree Expand file tree Collapse file tree
client/cmd/bisonw-desktop/windows Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -62,12 +62,14 @@ ENV CXX=x86_64-w64-mingw32-g++
6262ENV CGO_CXXFLAGS="-I/tmp/winsdk"
6363
6464RUN 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
7274RUN if [ "$XMR" = "1" ]; then \
7375 cp /src/client/asset/xmr/lib/windows-amd64/libwallet2_api_c.dll /out/; \
You can’t perform that action at this time.
0 commit comments