aboutsummaryrefslogtreecommitdiffstats
path: root/meta-multimedia
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2022-09-12 16:57:06 -0700
committerKhem Raj <raj.khem@gmail.com>2022-09-12 16:58:42 -0700
commitece57c2a1619d1f22c24d6be44701555760758e5 (patch)
tree18e2e174cefae5d4be9a08d80f3729ee517fbb98 /meta-multimedia
parentbccd9a5bee084b08a65a300f05980e340ff5403c (diff)
downloadmeta-openembedded-contrib-ece57c2a1619d1f22c24d6be44701555760758e5.tar.gz
sox: Enable -D_FILE_OFFSET_BITS=64 and depend on libtool
We use 'dyn' for plugins and the logic depends on libltdl support therefore add the missing depenendency Fixes | configure: error: not using libltdl; cannot load alsa dynamically | See `config.log' for more details Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-multimedia')
-rw-r--r--meta-multimedia/recipes-multimedia/sox/sox_14.4.2.bb5
1 files changed, 4 insertions, 1 deletions
diff --git a/meta-multimedia/recipes-multimedia/sox/sox_14.4.2.bb b/meta-multimedia/recipes-multimedia/sox/sox_14.4.2.bb
index 0791c85f74..ace8743f3a 100644
--- a/meta-multimedia/recipes-multimedia/sox/sox_14.4.2.bb
+++ b/meta-multimedia/recipes-multimedia/sox/sox_14.4.2.bb
@@ -4,7 +4,7 @@ and can apply different effects and filters to the audio data."
HOMEPAGE = "http://sox.sourceforge.net"
SECTION = "audio"
-DEPENDS = "libpng ffmpeg libsndfile1"
+DEPENDS = "libpng ffmpeg libsndfile1 libtool"
PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'alsa pulseaudio', d)} \
magic \
@@ -36,4 +36,7 @@ SRC_URI[sha256sum] = "b45f598643ffbd8e363ff24d61166ccec4836fea6d3888881b8df53e3b
inherit autotools pkgconfig
+# Enable largefile support
+CFLAGS += "-D_FILE_OFFSET_BITS=64"
+
EXCLUDE_FROM_WORLD = "${@bb.utils.contains("LICENSE_FLAGS_ACCEPTED", "commercial", "0", "1", d)}"