projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
getopt: Import OpenBSD getopt implementation for MSVC.
[mesa.git]
/
src
/
getopt
/
SConscript
diff --git a/src/getopt/SConscript
b/src/getopt/SConscript
new file mode 100644
(file)
index 0000000..
0fbaab4
--- /dev/null
+++ b/
src/getopt/SConscript
@@ -0,0
+1,13
@@
+Import('*')
+
+if not env['msvc']:
+ Return()
+
+env = env.Clone()
+
+getopt = env.ConvenienceLibrary(
+ target = 'getopt',
+ source = ['getopt_long.c'],
+)
+
+Export('getopt')