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>
This commit is contained in:
Khem Raj
2022-09-12 16:57:06 -07:00
parent bccd9a5bee
commit ece57c2a16

View File

@@ -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)}"