configure: Pass `-L/to/nix' as $LDFLAGS, not $LIBS.

This commit is contained in:
Ludovic Courtès 2011-10-04 12:52:12 +00:00
parent 998665aa0f
commit 14596d3ed1

View file

@ -42,7 +42,7 @@ old_CPPFLAGS="$CPPFLAGS"
old_LIBS="$LIBS"
CPPFLAGS="-I$nix/include/nix"
LIBS="-L$nix/lib/nix"
LDFLAGS="-L$nix/lib/nix"
AC_CHECK_HEADER([store-api.hh], [:],
[AC_MSG_ERROR([Nix headers not found; please install Nix or check the `--with-nix' option.])])