summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2018-09-04 10:26:18 +0200
committerAndrew Bartlett <abartlet@samba.org>2018-09-05 00:48:17 +0200
commit80324ff6e2fab7adb30073fc48a0c512232f1443 (patch)
treed08098e572c5a86ed5aba90f4fa7a52988124697 /examples
parent7356e814dfd3921e465a16cfe4b7998bc6f92dd1 (diff)
downloadsamba-80324ff6e2fab7adb30073fc48a0c512232f1443.tar.gz
examples: Fix mingw64 detection
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'examples')
-rw-r--r--examples/winexe/wscript2
1 files changed, 2 insertions, 0 deletions
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'):