about summary refs log tree commit diff
path: root/src/nix/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/nix/Makefile.am')
-rw-r--r--src/nix/Makefile.am6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nix/Makefile.am b/src/nix/Makefile.am
index 37415976b3d7..c4368a37c6dd 100644
--- a/src/nix/Makefile.am
+++ b/src/nix/Makefile.am
@@ -1,8 +1,8 @@
 bin_PROGRAMS = nix
 
 nix_SOURCES = nix.cc dotgraph.cc
-nix_LDADD = ../libmain/libmain.a ../libnix/libnix.a ../boost/format/libformat.a \
- -L../../externals/inst/lib -ldb_cxx -lATerm
+nix_LDADD = ../libmain/libmain.a ../libnix/libnix.a ../libutil/libutil.a \
+ ../boost/format/libformat.a -L../../externals/inst/lib -ldb_cxx -lATerm
 
 nix.o: nix-help.txt.hh
 
@@ -12,7 +12,7 @@ nix.o: nix-help.txt.hh
 	echo '"' >> $@
 
 AM_CXXFLAGS = \
- -I.. -I../../externals/inst/include -I../libnix -I../libmain
+ -I.. -I../../externals/inst/include -I../libutil -I../libnix -I../libmain
 
 install-data-local:
 	$(INSTALL) -d $(localstatedir)/nix