forked from lix-project/hydra
configure: Pass `-L/to/nix' as $LDFLAGS, not $LIBS.
This commit is contained in:
parent
998665aa0f
commit
14596d3ed1
|
@ -42,7 +42,7 @@ old_CPPFLAGS="$CPPFLAGS"
|
||||||
old_LIBS="$LIBS"
|
old_LIBS="$LIBS"
|
||||||
|
|
||||||
CPPFLAGS="-I$nix/include/nix"
|
CPPFLAGS="-I$nix/include/nix"
|
||||||
LIBS="-L$nix/lib/nix"
|
LDFLAGS="-L$nix/lib/nix"
|
||||||
|
|
||||||
AC_CHECK_HEADER([store-api.hh], [:],
|
AC_CHECK_HEADER([store-api.hh], [:],
|
||||||
[AC_MSG_ERROR([Nix headers not found; please install Nix or check the `--with-nix' option.])])
|
[AC_MSG_ERROR([Nix headers not found; please install Nix or check the `--with-nix' option.])])
|
||||||
|
|
Loading…
Reference in a new issue