From patchwork Sat Mar 19 20:12:30 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Max Filippov X-Patchwork-Id: 599793 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id 3qSCv92VPFz9s5l for ; Sun, 20 Mar 2016 07:12:53 +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=U8nORYxg; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 7BC91274F7; Sat, 19 Mar 2016 20:12:52 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vsGOw9cRwlAN; Sat, 19 Mar 2016 20:12:51 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id DE8D2322C0; Sat, 19 Mar 2016 20:12:50 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 0D25D1C16EA for ; Sat, 19 Mar 2016 20:12:50 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 082438896F for ; Sat, 19 Mar 2016 20:12:50 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UHMZo3u-Oj+9 for ; Sat, 19 Mar 2016 20:12:49 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-lb0-f177.google.com (mail-lb0-f177.google.com [209.85.217.177]) by whitealder.osuosl.org (Postfix) with ESMTPS id 16EA989EF9 for ; Sat, 19 Mar 2016 20:12:49 +0000 (UTC) Received: by mail-lb0-f177.google.com with SMTP id k12so106708953lbb.1 for ; Sat, 19 Mar 2016 13:12:48 -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=2kexRGzeB961IhTlHBbAYkB4sHsJr9xxDsb+pMCp53E=; b=U8nORYxgMpKftLcN2CAV83Jph87BMD472SLPiFplfXEvYvLNZppESFaPWzvmxiRLrj 32NDRY5Og/dbhfsnz7yRagqovxotLqk5Vfr3x7S9yKE2bSYM3+wVQ87HD8EhWDJy9Pu3 pK3+e3zglbBQ0KcGuLDacW4Xny3WF4tSJt9H3ySZ8E0IGsSczDN3zhS2+/4/nSXG8kMo hRGSr6uljGG/OnkNXB9ZaxRUj1VorS0MgmbX3OyED74qxYX7n783r0iZQD0I2sF4uIP/ XMJ842AIEwOaHsBfFRuj4kHZ33Lx/gB+8Z9XX+c4ZjCVP3HbiC22sqwkq3iohUMGv0bB 731A== 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=2kexRGzeB961IhTlHBbAYkB4sHsJr9xxDsb+pMCp53E=; b=mZOc+xLwkxnQ5vDfN3WwDuJ15gfF2iqfJ75GG267hNt7sHbCdWEQl91p6ukirvk82w U/ZmndQz1H8e1OHgnJWW6xsbsIF0mht074tXYLMkB3Jow/laB8t8xUPkmC0GYaIWGTjU F7KH6vK88SX3fS481BO2/6UCLr1L4H+vnJ2tfAk08Zvfb9QNpNgAWZ033CRoHulqaNf+ 32gL4YucjA8WWdalgBguKOMeWudacD8IxKJxjdKYMMzJ0TmBElArElvr66Gnbu1CaRe0 az0fpLltRHL7p7eknVAIkK43DfOz460fbaHi8mwcDIpLER09cIx55pGnaCd6FRyLmJ5W h7oQ== X-Gm-Message-State: AD7BkJLh8UUcmj5Uk8LNP4C2NT7vaRuB+Kl2Ngw/RWj6/Pp9PYxb2nSl0JcUOUFbz6UnKA== X-Received: by 10.112.134.70 with SMTP id pi6mr6914028lbb.59.1458418367318; Sat, 19 Mar 2016 13:12:47 -0700 (PDT) Received: from octofox.metropolis ([5.19.183.212]) by smtp.gmail.com with ESMTPSA id aa9sm3166244lbc.16.2016.03.19.13.12.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 19 Mar 2016 13:12:46 -0700 (PDT) From: Max Filippov To: buildroot@uclibc.org Date: Sat, 19 Mar 2016 23:12:30 +0300 Message-Id: <1458418350-13924-1-git-send-email-jcmvbkbc@gmail.com> X-Mailer: git-send-email 2.1.4 Cc: Thomas Petazzoni Subject: [Buildroot] [PATCH] lttng-babeltrace: fix build with standalone gettext 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" lttng-babeltrace can't detect that uuid_generate is provided by -luuid because the configure test fails with the following message: libuuid.a(libuuid_la-randutils.o): In function `random_get_bytes': randutils.c:(.text+0x204): undefined reference to `libintl_gettext' Add LIBS=-lintl to configure options in case we're building with standalone gettext. Fixes: http://autobuild.buildroot.net/results/1ab89c6e8d704bc28c9ff8b5ffda3f60e57a25b4/ Signed-off-by: Max Filippov --- package/lttng-babeltrace/lttng-babeltrace.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/lttng-babeltrace/lttng-babeltrace.mk b/package/lttng-babeltrace/lttng-babeltrace.mk index 5de77fb..cf57843 100644 --- a/package/lttng-babeltrace/lttng-babeltrace.mk +++ b/package/lttng-babeltrace/lttng-babeltrace.mk @@ -12,5 +12,9 @@ LTTNG_BABELTRACE_LICENSE_FILES = mit-license.txt gpl-2.0.txt LICENSE LTTNG_BABELTRACE_DEPENDENCIES = popt util-linux libglib2 +ifeq ($(BR2_NEEDS_GETTEXT),y) +LTTNG_BABELTRACE_CONF_OPTS += LIBS=-lintl +endif + $(eval $(autotools-package)) $(eval $(host-autotools-package))