From 116bda5d47c554c20c36be47c63d5c3e04a3b0d7 Mon Sep 17 00:00:00 2001 From: Ihor Dutchak Date: Sun, 17 Sep 2023 08:33:03 +0300 Subject: [PATCH] Update BUILD.autotools.md (#624) * Update BUILD.autotools.md Do not recommend using in-source Autotools build. Closes: #621 --- BUILD.autotools.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/BUILD.autotools.md b/BUILD.autotools.md index 24b20a5..34cf56a 100644 --- a/BUILD.autotools.md +++ b/BUILD.autotools.md @@ -46,7 +46,9 @@ A simple command list, to build HIDAPI with Autotools as a _shared library_ and ```sh ./bootstrap # this prepares the configure script -./configure +mkdir build +cd build # in-source builds are not recommended and known to be broken in some cases (https://github.com/libusb/hidapi/issues/621) +../configure make # build the library make install # as root, or using sudo, this will install hidapi into your system ```