Skip to content

Commit e5d6e82

Browse files
committed
Updated the MSYS2 build instructions.
1 parent e503841 commit e5d6e82

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,13 @@ This library has a lot in common with [libusb 1.0](http://libusb.info/), which h
5555

5656
## Building from source on Windows with MSYS2
5757

58-
The recommended way to build this library on Windows is to use [MSYS2](http://msys2.github.io/). These instructions assume you are building a 32-bit binary.
58+
The recommended way to build this library on Windows is to use [MSYS2](http://msys2.github.io/).
5959

60-
After installing MSYS2, select "MinGW-w64 Win32 shell" from the Start Menu. Then run this command to install the required packages:
60+
After installing MSYS2, launch it by selecting "MSYS2 MinGW 32-bit" or "MSYS2 MinGW 64-bit" from the Start Menu. Then run this command to install the required packages:
6161

62-
pacman -S mingw-w64-i686-toolchain mingw-w64-i686-cmake
62+
pacman -S $MINGW_PACKAGE_PREFIX-{toolchain,cmake}
63+
64+
If pacman prompts you to enter a selection of packages to install, just press enter to install all of the packages.
6365

6466
Download the source code of this library and navigate to the top-level directory using `cd`. Then run these commands to build the library and install it:
6567

0 commit comments

Comments
 (0)