Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/xerces: add optional support for icu
@ 2016-02-20 23:40 Bernd Kuhls
  2016-02-21 11:25 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: Bernd Kuhls @ 2016-02-20 23:40 UTC (permalink / raw)
  To: buildroot

When icu was compiled before, xerces will use it as optional dependency:

$ output/host/usr/bin/x86_64-linux-readelf -a output/target/usr/lib/libxerces-c-3.1.so | grep NEEDED | sort
 0x0000000000000001 (NEEDED)             Shared library: [libc.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libgcc_s.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libicudata.so.56]
 0x0000000000000001 (NEEDED)             Shared library: [libicui18n.so.56]
 0x0000000000000001 (NEEDED)             Shared library: [libicuuc.so.56]
 0x0000000000000001 (NEEDED)             Shared library: [libm.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libstdc++.so.6]

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
 package/xerces/xerces.mk | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/package/xerces/xerces.mk b/package/xerces/xerces.mk
index cf36183..e57949a 100644
--- a/package/xerces/xerces.mk
+++ b/package/xerces/xerces.mk
@@ -21,6 +21,13 @@ endef
 
 XERCES_POST_PATCH_HOOKS += XERCES_DISABLE_SAMPLES
 
+ifeq ($(BR2_PACKAGE_ICU),y)
+XERCES_CONF_OPTS += --with-icu=$(STAGING_DIR)/usr
+XERCES_DEPENDENCIES += icu
+else
+XERCES_CONF_OPTS += --without-icu
+endif
+
 ifeq ($(BR2_PACKAGE_LIBICONV),y)
 XERCES_CONF_ENV += LIBS=-liconv
 XERCES_DEPENDENCIES += libiconv
-- 
2.7.0

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [Buildroot] [PATCH 1/1] package/xerces: add optional support for icu
  2016-02-20 23:40 [Buildroot] [PATCH 1/1] package/xerces: add optional support for icu Bernd Kuhls
@ 2016-02-21 11:25 ` Thomas Petazzoni
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2016-02-21 11:25 UTC (permalink / raw)
  To: buildroot

Dear Bernd Kuhls,

On Sun, 21 Feb 2016 00:40:25 +0100, Bernd Kuhls wrote:
> When icu was compiled before, xerces will use it as optional dependency:
> 
> $ output/host/usr/bin/x86_64-linux-readelf -a output/target/usr/lib/libxerces-c-3.1.so | grep NEEDED | sort
>  0x0000000000000001 (NEEDED)             Shared library: [libc.so.1]
>  0x0000000000000001 (NEEDED)             Shared library: [libgcc_s.so.1]
>  0x0000000000000001 (NEEDED)             Shared library: [libicudata.so.56]
>  0x0000000000000001 (NEEDED)             Shared library: [libicui18n.so.56]
>  0x0000000000000001 (NEEDED)             Shared library: [libicuuc.so.56]
>  0x0000000000000001 (NEEDED)             Shared library: [libm.so.1]
>  0x0000000000000001 (NEEDED)             Shared library: [libstdc++.so.6]
> 
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
> ---
>  package/xerces/xerces.mk | 7 +++++++
>  1 file changed, 7 insertions(+)

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-02-21 11:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-20 23:40 [Buildroot] [PATCH 1/1] package/xerces: add optional support for icu Bernd Kuhls
2016-02-21 11:25 ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox