aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Bernd Kuhls <bernd.kuhls@t-online.de>2016-02-20 18:22:05 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-02-21 14:59:36 +0100
commit9f7991d78c744f5c3b8358b65089ad4ccb102fe4 (patch)
tree34a99963e92b1d57ddf15f9059d56311287342b7
parent81d5945f1fcfa8ebe4796dc137c585321f1da3ab (diff)
downloadbuildroot-9f7991d78c744f5c3b8358b65089ad4ccb102fe4.tar.gz
buildroot-9f7991d78c744f5c3b8358b65089ad4ccb102fe4.tar.bz2
package/links: add optional support for librsvg
When librsvg was compiled before, links will use it as optional dependency, along with other gtk libraries: $ output/host/usr/bin/x86_64-linux-readelf -a output/target/usr/bin/links | grep NEEDED | sort 0x0000000000000001 (NEEDED) Shared library: [libbz2.so.1.0] 0x0000000000000001 (NEEDED) Shared library: [libcairo.so.2] 0x0000000000000001 (NEEDED) Shared library: [libcrypto.so.1.0.0] 0x0000000000000001 (NEEDED) Shared library: [libc.so.1] 0x0000000000000001 (NEEDED) Shared library: [libevent-2.0.so.5] 0x0000000000000001 (NEEDED) Shared library: [libgdk_pixbuf-2.0.so.0] 0x0000000000000001 (NEEDED) Shared library: [libgio-2.0.so.0] 0x0000000000000001 (NEEDED) Shared library: [libglib-2.0.so.0] 0x0000000000000001 (NEEDED) Shared library: [libgobject-2.0.so.0] 0x0000000000000001 (NEEDED) Shared library: [libgpm.so.2] 0x0000000000000001 (NEEDED) Shared library: [libintl.so.8] 0x0000000000000001 (NEEDED) Shared library: [libjpeg.so.8] 0x0000000000000001 (NEEDED) Shared library: [liblzma.so.5] 0x0000000000000001 (NEEDED) Shared library: [libm.so.1] 0x0000000000000001 (NEEDED) Shared library: [libpng16.so.16] 0x0000000000000001 (NEEDED) Shared library: [libpthread.so.1] 0x0000000000000001 (NEEDED) Shared library: [librsvg-2.so.2] 0x0000000000000001 (NEEDED) Shared library: [libssl.so.1.0.0] 0x0000000000000001 (NEEDED) Shared library: [libtiff.so.5] 0x0000000000000001 (NEEDED) Shared library: [libX11.so.6] 0x0000000000000001 (NEEDED) Shared library: [libz.so.1] Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/links/links.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/package/links/links.mk b/package/links/links.mk
index 516d4c87bf..def7b7590a 100644
--- a/package/links/links.mk
+++ b/package/links/links.mk
@@ -33,6 +33,12 @@ LINKS_DEPENDENCIES += jpeg
else
LINKS_CONF_OPTS += --without-libjpeg
endif
+ifeq ($(BR2_PACKAGE_LIBRSVG),y)
+LINKS_CONF_OPTS += --with-librsvg
+LINKS_DEPENDENCIES += librsvg
+else
+LINKS_CONF_OPTS += --without-librsvg
+endif
ifeq ($(BR2_PACKAGE_TIFF),y)
LINKS_CONF_OPTS += --with-libtiff
LINKS_DEPENDENCIES += tiff