wscript: make getopt.h optional
authorPaul Brossier <piem@piem.org>
Sat, 23 Apr 2016 18:56:36 +0000 (20:56 +0200)
committerPaul Brossier <piem@piem.org>
Sat, 23 Apr 2016 18:56:36 +0000 (20:56 +0200)
wscript

diff --git a/wscript b/wscript
index 041a436..25f1808 100644 (file)
--- a/wscript
+++ b/wscript
@@ -108,7 +108,7 @@ def configure(ctx):
     ctx.check(header_name='math.h')
     ctx.check(header_name='string.h')
     ctx.check(header_name='limits.h')
-    ctx.check(header_name='getopt.h')
+    ctx.check(header_name='getopt.h', mandatory = False)
     ctx.check(header_name='unistd.h')
 
     target_platform = Options.platform