From 616df0af82a0e2d42cd49f79858f1a1fdca45e56 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20Tarti=C3=A8re?= Date: Mon, 26 Jun 2017 11:30:36 +0200 Subject: [PATCH] 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. --- .travis-ci-build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis-ci-build b/.travis-ci-build index dd4a2ec..0bf553e 100755 --- a/.travis-ci-build +++ b/.travis-ci-build @@ -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