Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v2] package/libxml2: add optional LZMA support
Date: Tue, 24 Mar 2015 22:53:34 +0100	[thread overview]
Message-ID: <20150324215334.GD4023@free.fr> (raw)
In-Reply-To: <1427233787-8456-1-git-send-email-yann.morin.1998@free.fr>

All,

On 2015-03-24 22:49 +0100, Yann E. MORIN spake thusly:
> LZMA support is provided by xz, since liblzma is long dead.
> 
> Contrary to zlib, liblzma uses pkg-config, so we do not need to add the
> full path to libzma.
> 
> Reported-by: vdm on IRC
> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
> ---
>  package/libxml2/libxml2.mk | 9 ++++++++-
>  1 file changed, 8 insertions(+), 1 deletion(-)
> 
> diff --git a/package/libxml2/libxml2.mk b/package/libxml2/libxml2.mk
> index 354c178..6bd73a4 100644
> --- a/package/libxml2/libxml2.mk
> +++ b/package/libxml2/libxml2.mk
> @@ -16,7 +16,7 @@ ifneq ($(BR2_LARGEFILE),y)
>  LIBXML2_CONF_ENV = CC="$(TARGET_CC) $(TARGET_CFLAGS) -DNO_LARGEFILE_SOURCE"
>  endif
>  
> -LIBXML2_CONF_OPTS = --with-gnu-ld --without-python --without-debug --without-lzma
> +LIBXML2_CONF_OPTS = --with-gnu-ld --without-python --without-debug
>  
>  HOST_LIBXML2_DEPENDENCIES = host-pkgconf
>  LIBXML2_DEPENDENCIES = host-pkgconf
> @@ -30,6 +30,13 @@ else
>  LIBXML2_CONF_OPTS += --without-zlib
>  endif
>  
> +ifeq ($(BR2_PACKAGE_XZ),y)
> +LIBXML2_DEPENDENCIES += xz
> +LIBXML2_CONF_OPTS += --with-lzma=$(STAGING_DIR)/usr

Grr... I once again forgot to commit before I sent the patch...
Sorry for the noise... :-/

Regards,
Yann E. MORIN.

> +else
> +LIBXML2_CONF_OPTS += --without-lzma
> +endif
> +
>  LIBXML2_DEPENDENCIES += $(if $(BR2_PACKAGE_LIBICONV),libiconv)
>  
>  ifeq ($(BR2_ENABLE_LOCALE)$(BR2_PACKAGE_LIBICONV),y)
> -- 
> 1.9.1
> 

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

      reply	other threads:[~2015-03-24 21:53 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-24 21:49 [Buildroot] [PATCH v2] package/libxml2: add optional LZMA support Yann E. MORIN
2015-03-24 21:53 ` Yann E. MORIN [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150324215334.GD4023@free.fr \
    --to=yann.morin.1998@free.fr \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox