* [Buildroot] [PATCH v2 1/1] package/cairo: add optional support for lzo
@ 2016-02-21 14:47 Bernd Kuhls
2016-02-21 17:22 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Bernd Kuhls @ 2016-02-21 14:47 UTC (permalink / raw)
To: buildroot
When lzo was compiled before, cairo will use it as optional dependency:
$ output/host/usr/bin/x86_64-linux-readelf -a output/target/usr/bin/cairo-sphinx | grep NEEDED | sort
[...]
0x0000000000000001 (NEEDED) Shared library: [liblzo2.so.2]
The build system offers no option to en-/disable lzo support:
https://cgit.freedesktop.org/cairo/tree/configure.ac#n54
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
v2: moved lzo outside BR2_PACKAGE_CAIRO_TEE option (Arnout)
package/cairo/cairo.mk | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/package/cairo/cairo.mk b/package/cairo/cairo.mk
index 205250d..6b54b28 100644
--- a/package/cairo/cairo.mk
+++ b/package/cairo/cairo.mk
@@ -93,6 +93,10 @@ else
CAIRO_CONF_OPTS += --disable-vg
endif
+ifeq ($(BR2_PACKAGE_LZO),y)
+CAIRO_DEPENDENCIES += lzo
+endif
+
ifeq ($(BR2_PACKAGE_XORG7),y)
CAIRO_CONF_OPTS += --enable-xlib --enable-xcb --with-x
CAIRO_DEPENDENCIES += xlib_libX11 xlib_libXext
--
2.7.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-02-21 17:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-21 14:47 [Buildroot] [PATCH v2 1/1] package/cairo: add optional support for lzo Bernd Kuhls
2016-02-21 17:22 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox