about summary refs log tree commit diff
path: root/src/nix-instantiate
diff options
context:
space:
mode:
Diffstat (limited to 'src/nix-instantiate')
-rw-r--r--src/nix-instantiate/Makefile.am5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/nix-instantiate/Makefile.am b/src/nix-instantiate/Makefile.am
index 23f4fbf567a9..d1a87986f53d 100644
--- a/src/nix-instantiate/Makefile.am
+++ b/src/nix-instantiate/Makefile.am
@@ -11,5 +11,6 @@ main.o: help.txt.hh
 	../bin2c/bin2c helpText < $< > $@ || (rm $@ && exit 1)
 
 AM_CXXFLAGS = \
- -I.. ${bdb_include} ${aterm_include} -I../libutil -I../libstore \
- -I../libexpr -I../libmain
+ ${bdb_include} ${aterm_include} \
+ -I$(srcdir)/.. -I$(srcdir)/../libutil -I$(srcdir)/../libstore \
+ -I$(srcdir)/../libexpr -I$(srcdir)/../libmain -I../libexpr