summaryrefslogtreecommitdiff
path: root/meta-openmoko
diff options
context:
space:
mode:
Diffstat (limited to 'meta-openmoko')
-rw-r--r--meta-openmoko/packages/libsndfile/libsndfile1_1.0.17.bb8
1 files changed, 7 insertions, 1 deletions
diff --git a/meta-openmoko/packages/libsndfile/libsndfile1_1.0.17.bb b/meta-openmoko/packages/libsndfile/libsndfile1_1.0.17.bb
index a010c5118..dc1b12fc4 100644
--- a/meta-openmoko/packages/libsndfile/libsndfile1_1.0.17.bb
+++ b/meta-openmoko/packages/libsndfile/libsndfile1_1.0.17.bb
@@ -3,7 +3,7 @@ HOMEPAGE = "http://www.mega-nerd.com/libsndfile"
AUTHOR = "Erik de Castro Lopo"
SECTION = "libs/multimedia"
LICENSE = "LGPL"
-PR = "r1"
+PR = "r2"
SRC_URI = "http://www.mega-nerd.com/libsndfile/libsndfile-${PV}.tar.gz \
file://add-cxx.patch;patch=1"
@@ -12,6 +12,12 @@ S = "${WORKDIR}/libsndfile-${PV}"
inherit autotools lib_package pkgconfig
+do_configure_prepend_arm() {
+ export ac_cv_sys_largefile_source=1
+ export ac_cv_sys_file_offset_bits=64
+ ac_cv_sizeof_off_t=8
+}
+
do_stage() {
oe_libinstall -a -so -C src libsndfile ${STAGING_LIBDIR}
install -m 0644 ${S}/src/sndfile.h ${STAGING_INCDIR}/