[PATCH] Add examples/winexe

Volker Lendecke Volker.Lendecke at SerNet.DE
Tue Sep 4 08:27:40 UTC 2018


On Tue, Sep 04, 2018 at 07:38:15PM +1200, Andrew Bartlett wrote:
> On Tue, 2018-09-04 at 18:59 +1200, Andrew Bartlett wrote:
> > On Tue, 2018-09-04 at 06:10 +0200, Volker Lendecke via samba-
> > technical
> > wrote:
> > > 
> > > On Tue, Sep 04, 2018 at 03:53:23PM +1200, Andrew Bartlett wrote:
> > > > 
> > > > 
> > > > While this (clearly) passes on Gitlab CI and sn-devel, it fails
> > > > on
> > > > travis CI:  https://travis-ci.org/samba-team/samba/jobs/423489492
> > > > 
> > > > Any idea what I need to change in the Travis CI setup to have
> > > > that
> > > > link?  
> > > Can you send me bin/default/include/config.h from that Travis CI
> > > run?
> > Sure, I'll patch the autobuild to have it spit to to stdout and get
> > that back to you.
> 
> Hopefully this has what you need:
> https://api.travis-ci.org/v3/job/424205162/log.txt

Can you try the attached patch (and then review it)?

Thanks, Volker

-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kontakt at sernet.de

Meet us at Storage Developer Conference (SDC)
Santa Clara, CA USA, September 24th-27th 2018
-------------- next part --------------
From 38690f2473765e14dcb3ba7a0fb0015ea171a2a0 Mon Sep 17 00:00:00 2001
From: Volker Lendecke <vl at samba.org>
Date: Tue, 4 Sep 2018 10:26:18 +0200
Subject: [PATCH] examples: Fix mingw64 detection

Signed-off-by: Volker Lendecke <vl at samba.org>
---
 examples/winexe/wscript | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/examples/winexe/wscript b/examples/winexe/wscript
index 3380b9794f6..8e42f014da5 100644
--- a/examples/winexe/wscript
+++ b/examples/winexe/wscript
@@ -16,6 +16,8 @@ def configure(conf):
             conf.DEFINE('HAVE_WINEXE_CC_WIN32', 1);
 	    break
 
+    found = False
+
     for a in AR64:
         for t in TC:
 	    if conf.find_program(a + '-' + t + '-gcc', var='WINEXE_CC_WIN64'):
-- 
2.11.0



More information about the samba-technical mailing list