summaryrefslogtreecommitdiffstats
path: root/package/links
diff options
context:
space:
mode:
authorBernd Kuhls <bernd.kuhls@t-online.de>2016-02-10 21:58:41 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-02-16 23:09:56 +0100
commitec1c53afd33b590200a4503dab16cce41864fabb (patch)
tree956614637e3214f145a71aa42f473444d9d4e5f6 /package/links
parent829f21ca83e0cc8449639acf2f69aefc45f3e040 (diff)
downloadbuildroot-ec1c53afd33b590200a4503dab16cce41864fabb.tar.gz
buildroot-ec1c53afd33b590200a4503dab16cce41864fabb.zip
package/links: add optional support for libevent
When libevent was compiled before, links will use it as optional dependency: $ output/host/usr/bin/i586-buildroot-linux-uclibc-readelf -a output/target/usr/bin/links | grep NEEDED 0x00000001 (NEEDED) Shared library: [liblzma.so.5] 0x00000001 (NEEDED) Shared library: [libbz2.so.1.0] 0x00000001 (NEEDED) Shared library: [libz.so.1] 0x00000001 (NEEDED) Shared library: [libevent-2.0.so.5] 0x00000001 (NEEDED) Shared library: [libc.so.1] (xz support will be added with the next patch of this series) Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/links')
-rw-r--r--package/links/links.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/links/links.mk b/package/links/links.mk
index ba55061d71..b948de4d20 100644
--- a/package/links/links.mk
+++ b/package/links/links.mk
@@ -39,6 +39,10 @@ ifeq ($(BR2_PACKAGE_BZIP2),y)
LINKS_DEPENDENCIES += bzip2
endif
+ifeq ($(BR2_PACKAGE_LIBEVENT),y)
+LINKS_DEPENDENCIES += libevent
+endif
+
ifeq ($(BR2_PACKAGE_OPENSSL),y)
LINKS_DEPENDENCIES += openssl
endif
OpenPOWER on IntegriCloud