From 14596d3ed11ce419d4523b02e99b4de91a151966 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Tue, 4 Oct 2011 12:52:12 +0000 Subject: [PATCH] configure: Pass `-L/to/nix' as $LDFLAGS, not $LIBS. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 29a23d68..a82855a5 100644 --- a/configure.ac +++ b/configure.ac @@ -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.])])