Index: SConstruct |
=================================================================== |
--- SConstruct (revision 3397) |
+++ SConstruct (working copy) |
@@ -149,6 +149,11 @@ |
'LIBPATH' : ['/usr/local/lib'], |
'CCFLAGS': ['-ansi'], |
}, |
+ 'os:openbsd': { |
+ 'CPPPATH' : ['/usr/local/include'], |
+ 'LIBPATH' : ['/usr/local/lib'], |
+ 'CCFLAGS': ['-ansi'], |
+ }, |
'os:win32': { |
'CCFLAGS': ['-DWIN32'], |
'CXXFLAGS': ['-DWIN32'], |
@@ -299,6 +304,9 @@ |
'os:freebsd': { |
'LIBS': ['execinfo', 'pthread'] |
}, |
+ 'os:openbsd': { |
+ 'LIBS': ['execinfo', 'pthread'] |
+ }, |
'os:win32': { |
'LIBS': ['winmm', 'ws2_32'], |
}, |
@@ -345,6 +353,9 @@ |
'os:freebsd': { |
'LIBS': ['execinfo', 'pthread'] |
}, |
+ 'os:openbsd': { |
+ 'LIBS': ['execinfo', 'pthread'] |
+ }, |
'os:win32': { |
'LIBS': ['winmm', 'ws2_32'] |
}, |
@@ -398,8 +409,12 @@ |
}, |
'os:freebsd': { |
'LIBPATH' : ['/usr/local/lib'], |
- 'LIBS': ['execinfo', 'pthread'] |
+ 'LIBS': ['execinfo', 'pthread'] |
}, |
+ 'os:openbsd': { |
+ 'LIBPATH' : ['/usr/local/lib'], |
+ 'LIBS': ['execinfo', 'pthread'] |
+ }, |
'os:win32': { |
'LIBS': ['winmm', 'ws2_32'] |
}, |
@@ -505,6 +520,9 @@ |
'os:freebsd': { |
'LIBS': ['pthread'], |
}, |
+ 'os:openbsd': { |
+ 'LIBS': ['pthread'], |
+ }, |
'os:android': { |
'LIBPATH': [ANDROID_TOP + '/out/target/product/generic/obj/lib'], |
'LINKFLAGS': ANDROID_LINKFLAGS, |
@@ -555,7 +573,7 @@ |
'help': 'the toolchain to use (' + TOOLCHAIN_GUESS + ')' |
}, |
'os': { |
- 'values': ['freebsd', 'linux', 'macos', 'win32', 'android'], |
+ 'values': ['freebsd', 'linux', 'macos', 'win32', 'android', 'openbsd'], |
'default': OS_GUESS, |
'help': 'the os to build for (' + OS_GUESS + ')' |
}, |