summaryrefslogtreecommitdiffstats
path: root/src/getopt/SConscript
diff options
context:
space:
mode:
Diffstat (limited to 'src/getopt/SConscript')
-rw-r--r--src/getopt/SConscript15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/getopt/SConscript b/src/getopt/SConscript
new file mode 100644
index 00000000000..14cabed4e64
--- /dev/null
+++ b/src/getopt/SConscript
@@ -0,0 +1,15 @@
+Import('*')
+
+if not env['msvc']:
+ Return()
+
+env = env.Clone()
+
+env.Prepend(CPPPATH = ['.'])
+
+getopt = env.ConvenienceLibrary(
+ target = 'getopt',
+ source = ['getopt_long.c'],
+)
+
+Export('getopt')