From patchwork Wed Sep 14 11:41:46 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?J=C3=B6rg_Krause?= X-Patchwork-Id: 669872 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3sZ05s4289z9ssP for ; Wed, 14 Sep 2016 21:42:41 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="key not found in DNS" (0-bit key; unprotected) header.d=embedded.rocks header.i=@embedded.rocks header.b=jJ2T9Dql; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 21B688BC51; Wed, 14 Sep 2016 11:42:40 +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 IF-F43lHwoWa; Wed, 14 Sep 2016 11:42:37 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id A043F8BB52; Wed, 14 Sep 2016 11:42:20 +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 B64FF1C14F8 for ; Wed, 14 Sep 2016 11:42:09 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id B2D318B127 for ; Wed, 14 Sep 2016 11:42:09 +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 MS-yy5OdtlVo for ; Wed, 14 Sep 2016 11:42:07 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mout02.posteo.de (mout02.posteo.de [185.67.36.142]) by fraxinus.osuosl.org (Postfix) with ESMTPS id B87F08B1C6 for ; Wed, 14 Sep 2016 11:42:07 +0000 (UTC) Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 3sZ0594Ccfz105p for ; Wed, 14 Sep 2016 13:42:05 +0200 (CEST) Authentication-Results: mail.embedded.rocks (amavisd-new); dkim=pass reason="pass (just generated, assumed good)" header.d=embedded.rocks DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=embedded.rocks; h=content-transfer-encoding:content-type:content-type :mime-version:references:in-reply-to:x-mailer:message-id:date :date:subject:subject:from:from:received:received; s=default; t= 1473853324; x=1474458125; bh=rFOJmY2+z1fxV75r78l73lKK3DC6H5+DNRM 1AJFbnnk=; b=jJ2T9DqldrVG6UlqyNZx75pbdFIvg3EL+qbHhemhkI5lvfReWKy SmKbY0g+bo8gwsizxBitcaBKC4+8IQCOz97wBIH96GbBVeOprgEstYPL8s+6Ao0i lgpbcMQJKzTfs1Xiwz6G3Ifn2dtNXirqK8+jVnGG1ANdfwWHMm3vlASyIYfiZzyn btgksii4VDlm+wKzVJKf//QD9lxVxJ9MdO9yFcWTnlIWnHy3YLlBFCMjhjGjN+jZ 6ydOmidUpkxXBZzzymYAP9I9AEWCson40tBtDJxpmviS0J/rZLt0Zd70LexKbIae dLVKwGR8NZJtPT9lrqaolBreF3hf0bPYMCg== Received: from mail.embedded.rocks ([127.0.0.1]) by localhost (mail.embedded.rocks [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id rG4s7U8RspKZ; Wed, 14 Sep 2016 13:42:04 +0200 (CEST) From: =?UTF-8?q?J=C3=B6rg=20Krause?= To: buildroot@buildroot.org Date: Wed, 14 Sep 2016 13:41:46 +0200 Message-Id: <20160914114146.3796-8-joerg.krause@embedded.rocks> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20160914114146.3796-1-joerg.krause@embedded.rocks> References: <20160914114146.3796-1-joerg.krause@embedded.rocks> MIME-Version: 1.0 Subject: [Buildroot] [PATCH 7/7] package/upmpdcli: use pkg-config for libupnpp 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: , Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Use the provided pkg-config file of libupnpp to get the correct LIBS. Signed-off-by: Jörg Krause --- package/upmpdcli/upmpdcli.mk | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/package/upmpdcli/upmpdcli.mk b/package/upmpdcli/upmpdcli.mk index 3f521cf..208aa8f 100644 --- a/package/upmpdcli/upmpdcli.mk +++ b/package/upmpdcli/upmpdcli.mk @@ -17,12 +17,10 @@ UPMPDCLI_AUTORECONF = YES ifeq ($(BR2_STATIC_LIBS),y) # Upmpdcli forgets to take the dependencies of libupnpp into # consideration, breaking static linking, so help it. -# Libupnpp unfortunately doesn't provide a .pc file, so manually -# handle the dependencies here. # The build system doesn't expand LIBS from the configure step, so # manually pass it to make. UPMPDCLI_MAKE_OPTS = \ - LIBS="`$(PKG_CONFIG_HOST_BINARY) --libs expat libcurl libupnp`" + LIBS="`$(PKG_CONFIG_HOST_BINARY) --libs libupnpp`" endif # Upmpdcli only runs if user upmpdcli exists