Skip to content

Commit 5bd0788

Browse files
fametranofanquake
andcommitted
doc: correct path in build-windows.md
Co-authored-by: fanquake <[email protected]>
1 parent 12408d3 commit 5bd0788

File tree

1 file changed

+7
-10
lines changed

1 file changed

+7
-10
lines changed

doc/build-windows.md

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,11 @@ If you want to build the windows installer with `make deploy` you need [NSIS](ht
7171

7272
sudo apt install nsis
7373

74+
Acquire the source in the usual way:
75+
76+
git clone https://github.com/bitcoin/bitcoin.git
77+
cd bitcoin
78+
7479
## Building for 64-bit Windows
7580

7681
The first step is to install the mingw-w64 cross-compilation tool chain:
@@ -87,11 +92,7 @@ Note that for WSL the Bitcoin Core source path MUST be somewhere in the default
8792
example /usr/src/bitcoin, AND not under /mnt/d/. If this is not the case the dependency autoconf scripts will fail.
8893
This means you cannot use a directory that is located directly on the host Windows file system to perform the build.
8994

90-
Acquire the source in the usual way:
91-
92-
git clone https://github.com/bitcoin/bitcoin.git
93-
94-
Once the source code is ready the build steps are below:
95+
Build using:
9596

9697
PATH=$(echo "$PATH" | sed -e 's/:\/mnt.*//g') # strip out problematic Windows %PATH% imported var
9798
cd depends
@@ -115,11 +116,7 @@ Note that for WSL the Bitcoin Core source path MUST be somewhere in the default
115116
example /usr/src/bitcoin, AND not under /mnt/d/. If this is not the case the dependency autoconf scripts will fail.
116117
This means you cannot use a directory that located directly on the host Windows file system to perform the build.
117118

118-
Acquire the source in the usual way:
119-
120-
git clone https://github.com/bitcoin/bitcoin.git
121-
122-
Then build using:
119+
Build using:
123120

124121
PATH=$(echo "$PATH" | sed -e 's/:\/mnt.*//g') # strip out problematic Windows %PATH% imported var
125122
cd depends

0 commit comments

Comments
 (0)