getopt: Import OpenBSD getopt implementation for MSVC.

This commit is contained in:
José Fonseca
2011-01-12 15:32:17 +00:00
parent 46662de68b
commit 6d670f6c0f
5 changed files with 607 additions and 0 deletions

View File

@@ -80,6 +80,10 @@ sources = [
'strtod.c',
]
if env['msvc']:
env.Prepend(CPPPATH = ['#/src/getopt'])
env.PrependUnique(LIBS = [getopt])
env.Prepend(LIBS = ['talloc'])
env.Append(CPPPATH = ['#/src/glsl'])