From patchwork Tue Oct 20 08:16:31 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chris Packham X-Patchwork-Id: 532826 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ozlabs.org (Postfix) with ESMTP id 109DF14030E for ; Tue, 20 Oct 2015 19:16:49 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=Aa50mDjT; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 434B588282; Tue, 20 Oct 2015 08:16:49 +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 i3Bc2FffnGFr; Tue, 20 Oct 2015 08:16:46 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id AD3B58C494; Tue, 20 Oct 2015 08:16:46 +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 58DC91C053A for ; Tue, 20 Oct 2015 08:16:45 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 544408B1EA for ; Tue, 20 Oct 2015 08:16:45 +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 yMtUAlf0Dbtb for ; Tue, 20 Oct 2015 08:16:44 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pa0-f44.google.com (mail-pa0-f44.google.com [209.85.220.44]) by fraxinus.osuosl.org (Postfix) with ESMTPS id B8316859C6 for ; Tue, 20 Oct 2015 08:16:44 +0000 (UTC) Received: by pabrc13 with SMTP id rc13so14403877pab.0 for ; Tue, 20 Oct 2015 01:16:44 -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=qUGYdVnTo/ErcgGdughby8dz0qVfdxJnuA5UgeYurzU=; b=Aa50mDjTORLOSr4Ala/pkXH4TSaDdH3yg82pU++gShV+y7p3cWoDcJerdGxrfqxKc+ kIJHCNS74sQamt8VyttErJp3zYuQP7cXAbzvUVnkSEa8XYCjhBuao4FIuPQukkhm+AcA UWjjopdPuc99bZwo0DHOCYu1A72oUTMEDNinZsmTA1fZvVUDXDqj1v+MpJBvZcA8rEB4 D4C7hZz+2X+h2ek6vCSdNL2sYSYcIWWNa8DAFASuXKVxmBnmt6zzlAEHoQWYSdpcMelr 87amL4gPWvpnHU8nB7C4CrYR25AOqxuambeILVGzWyXX1vvB7TA5tT5WbohdxjpCV8iI 5t+Q== X-Received: by 10.68.92.99 with SMTP id cl3mr2527540pbb.60.1445329004084; Tue, 20 Oct 2015 01:16:44 -0700 (PDT) Received: from chrisp-dl.ws.atlnz.lc (2-163-36-202-static.alliedtelesis.co.nz. [202.36.163.2]) by smtp.gmail.com with ESMTPSA id l16sm2234486pbq.22.2015.10.20.01.16.41 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 20 Oct 2015 01:16:43 -0700 (PDT) From: Chris Packham To: buildroot@buildroot.org Date: Tue, 20 Oct 2015 21:16:31 +1300 Message-Id: <1445328991-29416-1-git-send-email-judge.packham@gmail.com> X-Mailer: git-send-email 2.5.3 Cc: thomas.petazzoni@free-electrons.com Subject: [Buildroot] [PATCH] syslog-ng: Specify location of libesmtp 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" If --with-libesmtp is omitted a host tool is invoked to detect the location of the library and headers, which is obviously the wrong thing for a cross-compile environment. Explicitly add --with-libesmtp to resolve this. Fixes: http://git.buildroot.net/buildroot/commit/?id=539acb7500588d0a277357cf831c9f25f770578d http://git.buildroot.net/buildroot/commit/?id=01f41585a78406f6e830d5eaf4413a983812a299 Signed-off-by: Chris Packham --- package/syslog-ng/syslog-ng.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/syslog-ng/syslog-ng.mk b/package/syslog-ng/syslog-ng.mk index 7371060..2bbace8 100644 --- a/package/syslog-ng/syslog-ng.mk +++ b/package/syslog-ng/syslog-ng.mk @@ -37,6 +37,7 @@ endif ifeq ($(BR2_PACKAGE_LIBESMTP),y) SYSLOG_NG_DEPENDENCIES += libesmtp SYSLOG_NG_CONF_OPTS += --enable-smtp +SYSLOG_NG_CONF_OPTS += --with-libesmtp="$(STAGING_DIR)/usr" else SYSLOG_NG_CONF_OPTS += --disable-smtp endif