ref: d746ef8bc35f9cd0f976f6f879e37e1519d7c6f1
parent: dff2dedb88af52dd136942819dbab4c2d636cd8a
author: Paul Brossier <piem@piem.org>
date: Sat Apr 23 16:56:36 EDT 2016
wscript: make getopt.h optional
--- a/wscript
+++ b/wscript
@@ -108,7 +108,7 @@
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