From patchwork Wed Aug 14 17:51:35 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabrice Fontaine X-Patchwork-Id: 1147157 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.137; helo=fraxinus.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="NTIa8mBy"; dkim-atps=neutral Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 467xwc0jY2z9s7T for ; Thu, 15 Aug 2019 03:51:41 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 7342C86781; Wed, 14 Aug 2019 17:51:39 +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 by8XBjM81SsX; Wed, 14 Aug 2019 17:51:39 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id EB20586783; Wed, 14 Aug 2019 17:51:38 +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 22E1D1BF45A for ; Wed, 14 Aug 2019 17:51:38 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 1DF1586783 for ; Wed, 14 Aug 2019 17:51:38 +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 oRS24B95xXKj for ; Wed, 14 Aug 2019 17:51:37 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm1-f43.google.com (mail-wm1-f43.google.com [209.85.128.43]) by fraxinus.osuosl.org (Postfix) with ESMTPS id C986C86781 for ; Wed, 14 Aug 2019 17:51:36 +0000 (UTC) Received: by mail-wm1-f43.google.com with SMTP id 10so30490wmp.3 for ; Wed, 14 Aug 2019 10:51:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=NsFJpDrnLK/NyG3MuO5vruGs4M4I17IOUeSMeWEwa44=; b=NTIa8mBySTmRd+QeJPdXbwB1Qk4k+ErFXD+g8X2o2nTRFoIk44iYtqKYeF89lvYQYV dIQGztk9nkRQYh7G8X++Mvr8G1hyBDgeKb3AS4X6WwIkiY7geb/UeM9+pCeRJFdNapog dPjrjqh1LPJ3CHPNckaE0K5bsYE9a/WYL0OO0+7W9+z8gnM50QVE/9yVuW4NJzWwtpeu qddky9rynlZdzokoIGrk+SLvyZ8aT/krdcNcg1gG9f9CncL2Kw8kfURZOnhvxilItfH8 FvCO11of2XW5xZttnZYJu5m0Xs7Hay9fJpkiyTxk8JpR6uBefKFdRP6cxoyGOGIoraRw Syvg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=NsFJpDrnLK/NyG3MuO5vruGs4M4I17IOUeSMeWEwa44=; b=M8ehtBbREB9Ht6b9ofSGcYv+vVPe5GR4OGkNGhJVK4okH9bIcrooIZcBG7IQGfJW2H ZuGwRc7U1cZwlc6VyiDYfzq0n57P6Omf4KqcQrqFFvvjQdPkPhj8VZg/wu23Emr2Ozh9 Y6Z4hevCvyYU4/Pl+VBE9sxE4qjWsIcEAMCmzIjpZNDj4/RIHmmWLdr3doExlMd3piEK v4lFzqNEOCk5Tp6vsqQZ7wtW41A9wFKM/EqKYpzJi+mk8X5KlFn8xKxPA4a/RECxeURf S0iPQnmMKj0LlQpaYm9xGmj4rOVJaG8ZebnlOTRzZ86/kzNErvUEjkFQBSqLxQpYgH7n YWIw== X-Gm-Message-State: APjAAAUfbHmQbzdq5w1vLK2Ct0JPpid53ImPtdprRp8FHmQJrNcvEWqT GpKi/Wn8prOGiZEBzREXGYjYLqDy X-Google-Smtp-Source: APXvYqwQFoxz9xkbtGt7iseDllfTk29FeauU+QjUEnrAbrUtQH8UYFtt7cLw6jBk0N8YOpsyiQ7yMA== X-Received: by 2002:a05:600c:24d0:: with SMTP id 16mr299197wmu.83.1565805094719; Wed, 14 Aug 2019 10:51:34 -0700 (PDT) Received: from kali.home (lfbn-ren-1-605-248.w81-53.abo.wanadoo.fr. [81.53.181.248]) by smtp.gmail.com with ESMTPSA id s64sm699552wmf.16.2019.08.14.10.51.32 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Wed, 14 Aug 2019 10:51:33 -0700 (PDT) From: Fabrice Fontaine To: buildroot@buildroot.org Date: Wed, 14 Aug 2019 19:51:35 +0200 Message-Id: <20190814175135.14429-1-fontaine.fabrice@gmail.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Subject: [Buildroot] [PATCH 1/1] package/daq: fix build with host libdnet X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Sergio Prado , Fabrice Fontaine Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Fixes: - https://bugs.buildroot.org/show_bug.cgi?id=12106 Signed-off-by: Fabrice Fontaine --- package/daq/daq.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package/daq/daq.mk b/package/daq/daq.mk index a23a9dc5ee..f0f996ba2c 100644 --- a/package/daq/daq.mk +++ b/package/daq/daq.mk @@ -18,6 +18,13 @@ DAQ_MAKE = $(MAKE1) # disable ipq module as libipq is deprecated DAQ_CONF_OPTS += --disable-ipq-module +# Set --with-dnet-{includes,libraries} even if ipq and nfq modules are disabled +# otherwise daq will call 'dnet-config --cflags' and 'dnet-config --libs' which +# will result in a build failure if libdnet is installed on host +DAQ_CONF_OPTS += \ + --with-dnet-includes=$(STAGING_DIR)/usr/include \ + --with-dnet-libraries=$(STAGING_DIR)/usr/lib + ifeq ($(BR2_PACKAGE_LIBDNET)$(BR2_PACKAGE_LIBNETFILTER_QUEUE),yy) DAQ_DEPENDENCIES += libdnet libnetfilter_queue DAQ_CONF_OPTS += --enable-nfq-module