From patchwork Tue Oct 18 14:53:23 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Oudinet X-Patchwork-Id: 683732 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3syyl36BtQz9s8x for ; Wed, 19 Oct 2016 01:54:07 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=dSCrwl18; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id AF3618AA60; Tue, 18 Oct 2016 14:54:05 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id aIaiu96PsHwr; Tue, 18 Oct 2016 14:54:04 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 6B83E8A938; Tue, 18 Oct 2016 14:54:04 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 279991C2742 for ; Tue, 18 Oct 2016 14:54:03 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 20D65C16AC for ; Tue, 18 Oct 2016 14:54:03 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UGRo8KpJ1RBJ for ; Tue, 18 Oct 2016 14:54:02 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-qk0-f193.google.com (mail-qk0-f193.google.com [209.85.220.193]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 9D935C14D2 for ; Tue, 18 Oct 2016 14:54:02 +0000 (UTC) Received: by mail-qk0-f193.google.com with SMTP id v138so17055669qka.2 for ; Tue, 18 Oct 2016 07:54:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=lblD2M4bb0jWYbJhiR+ETNVZM6RKvFTXrOhZI4sSfj4=; b=dSCrwl18/o5YB7cqASKHk3ioC4dxFF80KMtzRI6zRIPgyTPyXNt+SA0zGJQXWXQMHX nzwbIba7TohVWC9o9nGLO3u4acqHWjUIRCkkv4wtDriwDLMV65ivvLM4XYxBnOm3rGKv WhWWtTktN5uUgJCr70ildKGGDkiObjC7XuOjQ0ieJSvyR5MQe1C6AK+fRx5QEENtigxI 0La4566lCOzcSl6o5yU/VfniUJUIENf1/bFNh3gvQMT3xMQsNQYzx9zj6M9WKA8/1kyZ oG9Ce8gwVDrnTh7QAywA5rfiEi8KhQtPuXrMOfBSis1feWl6BlDCnHseiKxKTdEiCjpR 1H9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=lblD2M4bb0jWYbJhiR+ETNVZM6RKvFTXrOhZI4sSfj4=; b=MaxixAuasrfCozwHKhj/B7y/M9yPY4Cs+oT8K923XOtpro8ABfqCdHQkqtznE2SuYn Fo+TcdMfce4Nn9kUlA9Dsk59GVTEWZgrlh0+jwa/gozzJioSGVz3gAfZRL6aCs9qgkFG CTwoObyY06avr18c8cb73i3eYXuQ3m8fNB/B6CmStZVuW6g/rTxyMu7EPv+d+ew6pZPA J7bv0FIOxvHnt5LYCw3ZeU091edkpA8ed+H4WaDF8iTzi8fJ7NP/q5cJpM04EXdyBgxo z8pt31pF8kw77vtQxrPhTVzGCyssjYDboFjIlhiJXJcrZO5z5qLiqBKQIOIk8MypZHaf 4YEQ== X-Gm-Message-State: AA6/9Rl3z9XpMsTZY2nDex6mC5dBKkXkBNTfGXQTWvkW17Ibakn2EvgbXx3xQNSQpEXn8w== X-Received: by 10.195.12.42 with SMTP id en10mr499837wjd.126.1476802441794; Tue, 18 Oct 2016 07:54:01 -0700 (PDT) Received: from localhost.localdomain ([2a01:e35:2e42:c8c0:1dc0:1ca1:b4:9d98]) by smtp.gmail.com with ESMTPSA id a2sm63545917wjn.10.2016.10.18.07.54.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 18 Oct 2016 07:54:00 -0700 (PDT) From: Johan Oudinet To: buildroot@buildroot.org Date: Tue, 18 Oct 2016 16:53:23 +0200 Message-Id: <1476802403-5879-1-git-send-email-johan.oudinet@gmail.com> X-Mailer: git-send-email 2.7.4 Subject: [Buildroot] [PATCH 1/1] avahi: link with libintl if libglib2 is enabled X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Fix bug 9341: avahi-utils does not compile with uClibc and libglib2. Signed-off-by: Johan Oudinet --- 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 * - - -