aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--perl/Makefile.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl/Makefile.am b/perl/Makefile.am
index 466a41c87..8176f86d5 100644
--- a/perl/Makefile.am
+++ b/perl/Makefile.am
@@ -20,7 +20,8 @@ libNixStore_la_LIBADD = $(top_builddir)/src/libstore/libstore.la
AM_CXXFLAGS = \
-I$(top_srcdir)/src -I$(top_srcdir)/src/libutil -I$(top_srcdir)/src/libstore \
- -I$(shell $(perl) -e 'use Config; print $$Config{archlibexp};')/CORE
+ -I$(shell $(perl) -e 'use Config; print $$Config{archlibexp};')/CORE \
+ $(shell $(perl) -e 'use Config; print $$Config{ccflags};')
lib/Nix/Store.cc: lib/Nix/Store.xs
xsubpp $^ -output $@