From patchwork Thu Oct 1 09:41:01 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Fertser X-Patchwork-Id: 524877 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from arrakis.dune.hu (arrakis.dune.hu [78.24.191.176]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id C2BD8140D6D for ; Thu, 1 Oct 2015 19:41:31 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=ujDGN1xa; dkim-atps=neutral Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id 052D428BE42; Thu, 1 Oct 2015 11:39:55 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on arrakis.dune.hu X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID autolearn=unavailable version=3.3.2 Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id 0A18628BE42 for ; Thu, 1 Oct 2015 11:39:46 +0200 (CEST) X-policyd-weight: using cached result; rate: -8.5 Received: from mail-la0-f44.google.com (mail-la0-f44.google.com [209.85.215.44]) by arrakis.dune.hu (Postfix) with ESMTPS for ; Thu, 1 Oct 2015 11:39:45 +0200 (CEST) Received: by lahh2 with SMTP id h2so71174177lah.0 for ; Thu, 01 Oct 2015 02:41:07 -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=9zruko6zHKWIBIIbegob49r02Qi8ScqdVTXdOBqXyjY=; b=ujDGN1xaUfnDat4kZhjKXwcWN/qxpeW4alsL2H9Q9Sx9tpMdD7c7R0ISHP352GLUsG UOF3/w+wENsDXtkRhcP/xvgb7Jodss6FxFTRwocKVYz0JTUZnRocDOLgqBOi9Tt/DEIO C1Pwiku8Nyo3G1nrXoegK/ymhuFn/Q+2hOO2BJhcShuqcy8kAJUjHTAjPUN2Km1cV4UR YzhUT9UcDOghfAwa/JdvsI/rUx8yCLMQBXkVBGOyU5piCMKROLxxWE/0cssByH0xzeFb lmRhaJxmgkIJmcOesa1ymnfGJCjPULpYg3qmtzlXQGqYCOJO0NppXNT1pefsS9EvZTBl XAzA== X-Received: by 10.112.150.201 with SMTP id uk9mr2543317lbb.102.1443692467328; Thu, 01 Oct 2015 02:41:07 -0700 (PDT) Received: from home.paul.comp (paulfertser.info. [2001:470:26:54b:250:70ff:fee7:41ec]) by smtp.gmail.com with ESMTPSA id zx7sm553183lbb.15.2015.10.01.02.41.05 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 01 Oct 2015 02:41:05 -0700 (PDT) Received: from home.paul.comp (localhost [127.0.0.1]) by home.paul.comp (8.14.4/8.14.4/Debian-8) with ESMTP id t919f4mc011155; Thu, 1 Oct 2015 12:41:04 +0300 Received: (from paul@localhost) by home.paul.comp (8.14.4/8.14.4/Submit) id t919f353011154; Thu, 1 Oct 2015 12:41:03 +0300 From: Paul Fertser To: openwrt-devel@lists.openwrt.org Date: Thu, 1 Oct 2015 12:41:01 +0300 Message-Id: <1443692461-11118-1-git-send-email-fercerpav@gmail.com> X-Mailer: git-send-email 2.1.4 Cc: Paul Fertser Subject: [OpenWrt-Devel] [PATCH] package: libs: libnl: fix include installation directory X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: OpenWrt Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: openwrt-devel-bounces@lists.openwrt.org Sender: "openwrt-devel" Without this patch packages that use pkg-config to find libnl3 includes fail to build because the path in the .pc file doesn't match actual install location. Make it the way upstream proposes and let whomever depend on libnl use pkg-config to find it. Signed-off-by: Paul Fertser --- package/libs/libnl/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/libs/libnl/Makefile b/package/libs/libnl/Makefile index 857bbe2..adf743a 100644 --- a/package/libs/libnl/Makefile +++ b/package/libs/libnl/Makefile @@ -86,7 +86,7 @@ endef define Build/InstallDev $(INSTALL_DIR) $(1)/usr/include/libnl $(1)/usr/lib/pkgconfig - $(CP) $(PKG_INSTALL_DIR)/usr/include/libnl3/* $(1)/usr/include/libnl/ + $(CP) $(PKG_INSTALL_DIR)/usr/include/libnl3 $(1)/usr/include/ $(CP) $(PKG_INSTALL_DIR)/usr/lib/* $(1)/usr/lib $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/*.pc $(1)/usr/lib/pkgconfig