about summary refs log tree commit diff
path: root/perl
diff options
context:
space:
mode:
Diffstat (limited to 'perl')
-rw-r--r--perl/Makefile.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl/Makefile.am b/perl/Makefile.am
index d02c54033058..ec1a5fd461c8 100644
--- a/perl/Makefile.am
+++ b/perl/Makefile.am
@@ -22,7 +22,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 \
+  -D_FILE_OFFSET_BITS=64
 
 lib/Nix/Store.cc: lib/Nix/Store.xs
 	xsubpp $^ -output $@