From ece57c2a1619d1f22c24d6be44701555760758e5 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Mon, 12 Sep 2022 16:57:06 -0700 Subject: 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 --- meta-multimedia/recipes-multimedia/sox/sox_14.4.2.bb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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)}" -- cgit v1.2.3-54-g00ecf