From patchwork Fri Apr 20 18:27:15 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guillaume Bres X-Patchwork-Id: 902106 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.138; helo=whitealder.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="VSWfY9S/"; dkim-atps=neutral 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 40SPX21Hd2z9s3F for ; Sat, 21 Apr 2018 04:29:20 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 5E279863D9; Fri, 20 Apr 2018 18:29:15 +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 hzWRe3ftlDq8; Fri, 20 Apr 2018 18:29:13 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id E96A186393; Fri, 20 Apr 2018 18:29:12 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 773281CF121 for ; Fri, 20 Apr 2018 18:29:11 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 7447689F20 for ; Fri, 20 Apr 2018 18:29:11 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Bw2Sc1t6rNcq for ; Fri, 20 Apr 2018 18:29:10 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr0-f196.google.com (mail-wr0-f196.google.com [209.85.128.196]) by hemlock.osuosl.org (Postfix) with ESMTPS id 90736821ED for ; Fri, 20 Apr 2018 18:29:10 +0000 (UTC) Received: by mail-wr0-f196.google.com with SMTP id v15-v6so7195962wrm.10 for ; Fri, 20 Apr 2018 11:29:10 -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; bh=WA95LMW0U9V8mg6uQVoSinp+GVL8iqfo4VjA3w+PUQc=; b=VSWfY9S/buwtmSc4GIJvWrq0TSDfGJodU4ytQEjkxHpJtfGNrUikvCXshyiMiZbotK yCPvhxhtM4YUbmfNFQ3BaotJ5HkWJyDuOHLgJUSI/cSCqfbNfkmVB1Wl1Z7yaCBGPmvT 75WmIt9arpMy0g3HXxsWI29VrS1NkDYPjT1yu+KjWoGmf7422vngXCGMf39cSDzq2eJ0 SlPiSzsIxDCSgi13jhn11/h/1HKIsdPP5J1wUXkrA5HI6nhTlrMMZBoFWQjhpIIv/gmn NVIakXD8AlZZTU4B7pJ8Vy0sKXkJ1bXEdqEIaItcj6o8KXrWDVZ7aTXdJfrDYV/DOxgh oZnQ== 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; bh=WA95LMW0U9V8mg6uQVoSinp+GVL8iqfo4VjA3w+PUQc=; b=keR7/m3QImHjDYrBiTaglwydQ1Iw36OMNPhNBnmOTGgPC+3CWGmJYCFOv0bD+fA38I gFq02iFjyPxlzS0SdURJ+3dHL2rx4RUTPS0VofQkZ/gL29Ok5Mx9AQB7HTUvxxtErOP1 GxKDVkS8qP26auv4N6nFIBCsV6DjFaclGtKWXzB37T71RmxiwzisQ50sLXlHq+tTLzwb +YayAEn88pVbQ65xVLLMUTSYD5S60fTw/X1C1nEIWUvJm+t/fpg83Q5FXz4682gBmABN 8GuHPMLahKnIvHaAaG6YB4ndS6ok92xhNLI0SZzVUQ7YYcpEsZPs3FgMsF9oBC2KP/X/ cPnw== X-Gm-Message-State: ALQs6tB0uM6m019itgEfbG6XiV7XWKKS3uElFXXw7xvT21Z0juxhI+qg ZQhMD8LI+o/kREQKrknexq4c7sY9 X-Google-Smtp-Source: AIpwx49PiiCuoe3StTaMA9G2tA940PpTvfNc2Z2wwyxHfdLB4rkbx0F3WNm3J6bkRuzaaMwu0rkMLg== X-Received: by 2002:adf:bd86:: with SMTP id l6-v6mr6485154wrh.266.1524248948912; Fri, 20 Apr 2018 11:29:08 -0700 (PDT) Received: from localhost.localdomain (2a01cb000771b9004a4d7efffedc1ce0.ipv6.abo.wanadoo.fr. [2a01:cb00:771:b900:4a4d:7eff:fedc:1ce0]) by smtp.gmail.com with ESMTPSA id 63-v6sm8248380wrh.70.2018.04.20.11.29.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 20 Apr 2018 11:29:08 -0700 (PDT) From: "Guillaume W. Bres" To: buildroot@buildroot.org Date: Fri, 20 Apr 2018 20:27:15 +0200 Message-Id: <1524248835-4552-1-git-send-email-guillaume.bressaix@gmail.com> X-Mailer: git-send-email 2.7.4 Subject: [Buildroot] [PATCH v2 1/1] reaver: add missing dependency on non static lib. X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.24 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "Guillaume W. Bres" MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Fixes http://autobuild.buildroot.net/results/0fb387f0544e962e5080ea966864f325fbaf4117 Signed-off-by: Guillaume W. Bres --- v2: static libs are now allowed. I used Arnout's suggestion which caused ./configure to pass. Then there was a linker problem that was solved by using the trick on LDFLAGS this time. Build now passes. package/reaver/reaver.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/package/reaver/reaver.mk b/package/reaver/reaver.mk index 90d1727..8dfec32 100644 --- a/package/reaver/reaver.mk +++ b/package/reaver/reaver.mk @@ -14,4 +14,9 @@ REAVER_LICENSE_FILES = docs/LICENSE REAVER_SUBDIR = src REAVER_DEPENDENCIES = libpcap +ifeq ($(BR2_STATIC_LIBS),y) +REAVER_CONF_OPTS += LIBS="`$(STAGING_DIR)/usr/bin/pcap-config --static --additional-libs`" +REAVER_CONF_OPTS += LDFLAGS="`$(STAGING_DIR)/usr/bin/pcap-config --static --additional-libs`" +endif + $(eval $(autotools-package))