Fix autotools build

CMake seems to find the libnfc includes and libraries, but not the
autotools.  Pass them to ./configure.
This commit is contained in:
Romain Tartière 2017-06-26 11:21:28 +02:00
parent a884eb3dca
commit d0f78c4880

View file

@ -6,7 +6,7 @@ if [ "$BLD" = autotools ]; then
autoreconf -vis
mkdir build-autotools
cd build-autotools
../configure --prefix=$HOME/.local
../configure --prefix=$HOME/.local CFLAGS="-I$HOME/.local/include" LDFLAGS="-L$HOME/.local/lib"
make
make install
elif [ "$BLD" = cmake ]; then