[packages] libsndfile: fix large file support (#9955), thanks jow for tracking this down

git-svn-id: svn://svn.openwrt.org/openwrt/packages@28067 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
loswillios 2011-08-22 06:48:53 +00:00
parent 7536d44ef0
commit 059835d1b0

View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=libsndfile
PKG_VERSION:=1.0.25
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://www.mega-nerd.com/libsndfile/files/
@ -36,8 +36,15 @@ endef
CONFIGURE_ARGS+= \
--disable-alsa \
--disable-external-libs \
--disable-sqlite \
--disable-shave \
--disable-sqlite
CONFIGURE_VARS += \
ac_cv_sys_file_offset_bits=64 \
ac_cv_sys_large_files=yes \
ac_cv_sys_largefile_CFLAGS=-D_LARGFILE_SOURCE \
ac_cv_sys_largefile_LDFLAGS= \
ac_cv_sys_largefile_LIBS= \
ac_cv_sys_largefile_source=yes
TARGET_CFLAGS += $(FPIC)