From: Bernd Kuhls Date: Sun, 21 Feb 2016 09:50:18 +0000 (+0100) Subject: package/jack2: add optional support for readline X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f658b1934f91e8c416fd7519c9f7e3ab86dca076;p=buildroot.git package/jack2: add optional support for readline When readline was compiled before, jack2 will use it as optional dependency: $ output/host/usr/bin/x86_64-linux-readelf -a output/target/usr/bin/jack_transport | grep NEEDED 0x0000000000000001 (NEEDED) Shared library: [libjack.so.0] 0x0000000000000001 (NEEDED) Shared library: [libpthread.so.1] 0x0000000000000001 (NEEDED) Shared library: [libopus.so.0] 0x0000000000000001 (NEEDED) Shared library: [librt.so.1] 0x0000000000000001 (NEEDED) Shared library: [libdl.so.1] 0x0000000000000001 (NEEDED) Shared library: [libreadline.so.6] 0x0000000000000001 (NEEDED) Shared library: [libc.so.1] Signed-off-by: Bernd Kuhls Signed-off-by: Thomas Petazzoni --- diff --git a/package/jack2/jack2.mk b/package/jack2/jack2.mk index e0188610d7..81508da716 100644 --- a/package/jack2/jack2.mk +++ b/package/jack2/jack2.mk @@ -14,6 +14,10 @@ ifeq ($(BR2_PACKAGE_OPUS),y) JACK2_DEPENDENCIES += opus endif +ifeq ($(BR2_PACKAGE_READLINE),y) +JACK2_DEPENDENCIES += readline +endif + define JACK2_CONFIGURE_CMDS (cd $(@D); \ $(TARGET_CONFIGURE_OPTS) \