aboutsummaryrefslogtreecommitdiff
path: root/package/jack2
diff options
context:
space:
mode:
authorGravatar Bernd Kuhls <bernd.kuhls@t-online.de>2016-02-21 10:50:18 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-02-21 12:45:25 +0100
commitf658b1934f91e8c416fd7519c9f7e3ab86dca076 (patch)
tree293cc11d689cc69d74cad98c24bd0fca8dfc408c /package/jack2
parent055cf588427b40533da74d16df1830e483c5618e (diff)
downloadbuildroot-f658b1934f91e8c416fd7519c9f7e3ab86dca076.tar.gz
buildroot-f658b1934f91e8c416fd7519c9f7e3ab86dca076.tar.bz2
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 <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/jack2')
-rw-r--r--package/jack2/jack2.mk4
1 files changed, 4 insertions, 0 deletions
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) \