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:
Romain Tartière 2017-06-26 11:30:36 +02:00
parent 6ef62014d1
commit 616df0af82

View file

@ -6,7 +6,7 @@ if [ "$BLD" = autotools ]; then
autoreconf -vis
mkdir 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 install
elif [ "$BLD" = cmake ]; then