Do not use pkg-config(1) to search for libnfc
Since libnfc is not installed system-wide, pkg-config(1) can't find it. Set LIBNFC_CFLAGS/LDFLAGS manually.
This commit is contained in:
parent
6ef62014d1
commit
616df0af82
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ if [ "$BLD" = autotools ]; then
|
||||||
autoreconf -vis
|
autoreconf -vis
|
||||||
mkdir build-autotools
|
mkdir build-autotools
|
||||||
cd build-autotools
|
cd build-autotools
|
||||||
../configure --prefix=$HOME/.local CFLAGS="-I$HOME/.local/include" LDFLAGS="-L$HOME/.local/lib"
|
../configure --prefix=$HOME/.local LIBNFC_CFLAGS="-I$HOME/.local/include" LIBNFC_LIBS="-L$HOME/.local/lib -lnfc"
|
||||||
make
|
make
|
||||||
make install
|
make install
|
||||||
elif [ "$BLD" = cmake ]; then
|
elif [ "$BLD" = cmake ]; then
|
||||||
|
|
Loading…
Reference in a new issue