always turn on LFS support when compiling for a Linux/GNU system with libpng support

This commit is contained in:
Alam Ed Arias 2015-01-10 17:35:36 -05:00
parent e28882a56d
commit 45e8ec34a6

View file

@ -305,6 +305,10 @@ PNG_LDFLAGS?=$(shell $(PNG_CONFIG) --ldflags)
endif
endif
ifdef LINUX
PNG_CFLAGS+=-D_LARGEFILE64_SOURCE
endif
LIBS+=$(PNG_LDFLAGS)
CFLAGS+=$(PNG_CFLAGS)
endif