PREFIX has to be specified twice

`PREFIX` has to be specified for when using `make` solely. This is done to correct the wrong paths inside the generated `libudev.pc` which will always be `/usr/local/{include,lib}` regardless of the `PREFIX` value passed to `make install`.
This commit is contained in:
Firas Khalil Khana
2020-09-15 00:42:25 +03:00
committed by GitHub
parent 089e09e00a
commit f5e0778f79

View File

@@ -52,7 +52,7 @@ Installation
------------
```sh
make
make PREFIX=/usr
make PREFIX=/usr install # will overwrite existing udev libraries if any
# rebuild all packages which depends on udev
# here we go !