diff --git a/perl/Makefile.am b/perl/Makefile.am index 50e68f17ea8eb90a4d9a781bf05b17f1f8a358dc..d02c5403305805dc78c48b0cf18fbe903f33a65e 100644 --- a/perl/Makefile.am +++ b/perl/Makefile.am @@ -22,8 +22,7 @@ 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 \ - $(shell $(perl) -e 'use Config; print $$Config{ccflags};') + -I$(shell $(perl) -e 'use Config; print $$Config{archlibexp};')/CORE lib/Nix/Store.cc: lib/Nix/Store.xs xsubpp $^ -output $@