From patchwork Mon Jan 12 21:26:05 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Samuel Martin X-Patchwork-Id: 428135 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ozlabs.org (Postfix) with ESMTP id 7B296140217 for ; Tue, 13 Jan 2015 08:26:22 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 91DB29156F; Mon, 12 Jan 2015 21:26:21 +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 op3Vw-bj05Yn; Mon, 12 Jan 2015 21:26:20 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id BD034915B9; Mon, 12 Jan 2015 21:26:19 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 46D791C214E for ; Mon, 12 Jan 2015 21:26:17 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 4391588AC0 for ; Mon, 12 Jan 2015 21:26:17 +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 SnIceuYUsthN for ; Mon, 12 Jan 2015 21:26:16 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wi0-f171.google.com (mail-wi0-f171.google.com [209.85.212.171]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 7ED2788B06 for ; Mon, 12 Jan 2015 21:26:16 +0000 (UTC) Received: by mail-wi0-f171.google.com with SMTP id bs8so17313421wib.4 for ; Mon, 12 Jan 2015 13:26:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=PWQG30z3XRK/i+K5rpRIEO3LxKebXWLXZzaNd1n6lJw=; b=KForgAgqeYYpEBJw390DvrfA4GSAsKJMhd9rlKMKTSE6TCoZs5f8QjrLPkvgMJMLUw K9ZlSdGcD3DNSjdZiJRBFy8ZlZ35yZSmcEBW2EpyD3Qfc6phJXiB1PL3SZEPgBHhun7a 6JLl6d9hm8eqHAfszW9jOuIa3dmFNf7VgB1QvmfMj6kdT9vkwzXd/M8TX0l2yoWOLDdN l2O+C1UVzZ5zVyv9YzblQb4qBMSsACMCUvLdClg3MR5hFEGtHHz1MXjjVhtWNLuUNG8R Zpc+A7mtoPjzNzbViyNObnQXxhfoujvU9YglYjIm3jrKqQFIPIJxiARBJKsOP/khKNE0 qBiQ== X-Received: by 10.180.87.228 with SMTP id bb4mr8955066wib.71.1421097975156; Mon, 12 Jan 2015 13:26:15 -0800 (PST) Received: from system-laptop.localdomain (ivr94-4-82-229-165-48.fbx.proxad.net. [82.229.165.48]) by mx.google.com with ESMTPSA id dc1sm11700851wib.18.2015.01.12.13.26.13 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 12 Jan 2015 13:26:14 -0800 (PST) From: Samuel Martin To: buildroot@buildroot.org Date: Mon, 12 Jan 2015 22:26:05 +0100 Message-Id: <1421097965-15600-2-git-send-email-s.martin49@gmail.com> X-Mailer: git-send-email 2.2.1 In-Reply-To: <1421097965-15600-1-git-send-email-s.martin49@gmail.com> References: <1421097965-15600-1-git-send-email-s.martin49@gmail.com> Cc: Thomas Petazzoni , "Yann E. MORIN" Subject: [Buildroot] [PATCH 2/2] package/libftdi: fix libftdi.pc 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" This patch fixes libftdi pkg-config module, so that packages linking against libftdi correctly have all needed CFLAGS and LIBS defined, especially when running a static build. Fixes: http://autobuild.buildroot.org/results/e90/e90b4d5ad79d99487f21c9d18581e8eba7034501/ Cc: Thomas Petazzoni Cc: "Yann E. MORIN" Signed-off-by: Samuel Martin Tested-by: "Yann E. MORIN" Acked-by: "Yann E. MORIN" --- ...di.pc.in-requires-libusb-fix-static-build.patch | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 package/libftdi/0002-libftdi.pc.in-requires-libusb-fix-static-build.patch diff --git a/package/libftdi/0002-libftdi.pc.in-requires-libusb-fix-static-build.patch b/package/libftdi/0002-libftdi.pc.in-requires-libusb-fix-static-build.patch new file mode 100644 index 0000000..7b0d9c7 --- /dev/null +++ b/package/libftdi/0002-libftdi.pc.in-requires-libusb-fix-static-build.patch @@ -0,0 +1,25 @@ +From c0d957b08b46385da570d8ff2f728369822ad2c1 Mon Sep 17 00:00:00 2001 +From: Samuel Martin +Date: Mon, 12 Jan 2015 22:10:49 +0100 +Subject: [PATCH] libftdi.pc.in: requires libusb (fix static build) + +Signed-off-by: Samuel Martin +--- + libftdi.pc.in | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/libftdi.pc.in b/libftdi.pc.in +index 2061b91..95eb491 100644 +--- a/libftdi.pc.in ++++ b/libftdi.pc.in +@@ -6,6 +6,7 @@ includedir=@includedir@ + Name: libftdi + Description: Library to program and control the FTDI USB controller + Requires: ++Requires.private: libusb + Version: @VERSION@ + Libs: -L${libdir} -lftdi -lusb + Cflags: -I${includedir} +-- +2.2.1 +