From patchwork Wed Apr 10 10:37:46 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Giulio Benetti X-Patchwork-Id: 1083296 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.133; helo=hemlock.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=micronovasrl.com Authentication-Results: ozlabs.org; dkim=fail reason="key not found in DNS" (0-bit key; unprotected) header.d=micronovasrl.com header.i=@micronovasrl.com header.b="kcs9KBLo"; dkim-atps=neutral Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 44fLGK5k39z9s9h for ; Wed, 10 Apr 2019 20:38:01 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id DBED3859E3; Wed, 10 Apr 2019 10:37:56 +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 IBFLCY1+xPWC; Wed, 10 Apr 2019 10:37:54 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id CA003859BD; Wed, 10 Apr 2019 10:37:54 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 3F3FA1BF361 for ; Wed, 10 Apr 2019 10:37:54 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 3AEDA22E94 for ; Wed, 10 Apr 2019 10:37:54 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0sMRKqnedGkn for ; Wed, 10 Apr 2019 10:37:53 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail.micronovasrl.com (mail.micronovasrl.com [212.103.203.10]) by silver.osuosl.org (Postfix) with ESMTP id B5EAE227FC for ; Wed, 10 Apr 2019 10:37:52 +0000 (UTC) Received: from mail.micronovasrl.com (mail.micronovasrl.com [127.0.0.1]) by mail.micronovasrl.com (Postfix) with ESMTP id C5078B0139D for ; Wed, 10 Apr 2019 12:37:51 +0200 (CEST) Authentication-Results: mail.micronovasrl.com (amavisd-new); dkim=pass reason="pass (just generated, assumed good)" header.d=micronovasrl.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=micronovasrl.com; h=x-mailer:message-id:date:date:subject:subject:to:from:from; s=dkim; t=1554892668; x=1555756669; bh=e9G/9D4KsNYglQq4pYd975OR QdpIT2RQERMEbuJyjww=; b=kcs9KBLob3KXrDYBFUvfb5Si0ac47TFO4IcrvyCX UMRO48mcdx4qS72B2XgsN/SUI8JP07X1M4y11lh81m5KO8DWHC7S7oJsR904F1iV TBflzNAyaxv2X19on78UMiByKgpprPTmPCGK1mu2mWforPwjDeRfdPj7UiG50WxM jtE= X-Virus-Scanned: Debian amavisd-new at mail.micronovasrl.com Received: from mail.micronovasrl.com ([127.0.0.1]) by mail.micronovasrl.com (mail.micronovasrl.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id pVStzeIYRA1L for ; Wed, 10 Apr 2019 12:37:48 +0200 (CEST) Received: from ubuntu.localdomain (88-149-228-83.v4.ngi.it [88.149.228.83]) by mail.micronovasrl.com (Postfix) with ESMTPSA id 515F4B0042C; Wed, 10 Apr 2019 12:37:48 +0200 (CEST) From: Giulio Benetti To: buildroot@buildroot.org Date: Wed, 10 Apr 2019 12:37:46 +0200 Message-Id: <20190410103746.18403-1-giulio.benetti@micronovasrl.com> X-Mailer: git-send-email 2.17.1 Subject: [Buildroot] [PATCH] package/civetweb: fix linking failure due to wrong OpenSSL passed to pkg-config 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: Thomas Davis MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" On commit 027a8b29f1e62d5ff5bbb15b79376614f902a680 pkg-config has been added to retrieve OpenSSL dependencies, but it's been passed `libssl` instead of `openssl`, this makes fail some linking. Indeed we need OpenSSL dependency, so let's use `openssl` with pkg-config. Substitute `libssl` with `openssl`. Fixes: http://autobuild.buildroot.net/results/b22/b225425ee237852bd9fee4ca0b8d24f3e37d64f9/ Signed-off-by: Giulio Benetti --- package/civetweb/civetweb.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/civetweb/civetweb.mk b/package/civetweb/civetweb.mk index 80272738e4..1652239ebb 100644 --- a/package/civetweb/civetweb.mk +++ b/package/civetweb/civetweb.mk @@ -32,7 +32,7 @@ endif ifeq ($(BR2_PACKAGE_OPENSSL),y) CIVETWEB_COPT += -DNO_SSL_DL -CIVETWEB_LIBS += `$(PKG_CONFIG_HOST_BINARY) --libs libssl` +CIVETWEB_LIBS += `$(PKG_CONFIG_HOST_BINARY) --libs openssl` CIVETWEB_DEPENDENCIES += openssl host-pkgconf else CIVETWEB_COPT += -DNO_SSL