From: Johan Oudinet <johan.oudinet@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] avahi: link with libintl if libglib2 is enabled
Date: Tue, 18 Oct 2016 16:53:23 +0200 [thread overview]
Message-ID: <1476802403-5879-1-git-send-email-johan.oudinet@gmail.com> (raw)
Fix bug 9341: avahi-utils does not compile with uClibc and libglib2.
Signed-off-by: Johan Oudinet <johan.oudinet@gmail.com>
---
package/avahi/avahi.mk | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/package/avahi/avahi.mk b/package/avahi/avahi.mk
index 069b45a..c9cf2bc 100644
--- a/package/avahi/avahi.mk
+++ b/package/avahi/avahi.mk
@@ -168,7 +168,9 @@ endif
AVAHI_CONF_ENV += CFLAGS="$(AVAHI_CFLAGS)"
-AVAHI_MAKE_OPTS += $(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),LIBS=-lintl)
+# If either locale or libglib2 is defined, avahi needs libintl.
+AVAHI_MAKE_OPTS += \
+ $(if $(BR2_NEEDS_GETTEXT_IF_LOCALE)$(BR2_PACKAGE_LIBGLIB2),LIBS=-lintl)
define AVAHI_USERS
avahi -1 avahi -1 * - - -
--
2.7.4
next reply other threads:[~2016-10-18 14:53 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-18 14:53 Johan Oudinet [this message]
2016-10-18 15:25 ` [Buildroot] [PATCH 1/1] avahi: link with libintl if libglib2 is enabled Thomas Petazzoni
2016-10-19 12:42 ` Johan Oudinet
2016-10-19 12:59 ` Thomas Petazzoni
2016-10-19 16:23 ` Johan Oudinet
2016-10-19 16:27 ` Arnout Vandecappelle
2016-10-19 17:25 ` Waldemar Brodkorb
2016-10-19 19:57 ` Thomas Petazzoni
2016-10-19 19:55 ` Thomas Petazzoni
2016-10-20 8:25 ` Arnout Vandecappelle
2017-06-10 19:32 ` Bernd Kuhls
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=1476802403-5879-1-git-send-email-johan.oudinet@gmail.com \
--to=johan.oudinet@gmail.com \
--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