aboutsummaryrefslogtreecommitdiffstats
path: root/SConstruct
diff options
context:
space:
mode:
authorVincent Richard <[email protected]>2004-12-08 20:20:54 +0100
committerVincent Richard <[email protected]>2004-12-08 20:20:54 +0100
commit9bbc42c78317be9a7a50ebe7ef12291e0dbca1bc (patch)
tree2f286b57a95d1a0b263b4636104a4a67c834b9a0 /SConstruct
parentAll header tests-functions added (diff)
downloadvmime-9bbc42c78317be9a7a50ebe7ef12291e0dbca1bc.tar.gz
vmime-9bbc42c78317be9a7a50ebe7ef12291e0dbca1bc.zip
Changed 'uname -o' to 'uname -s' for POSIX compatibility.
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct2
1 files changed, 1 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct
index f8e97d15..3a5d4633 100644
--- a/SConstruct
+++ b/SConstruct
@@ -519,7 +519,7 @@ config_hpp.write('// Target OS and architecture\n')
if os.name == 'posix':
config_hpp.write('#define VMIME_TARGET_ARCH "' + commands.getoutput('uname -m') + '"\n')
- config_hpp.write('#define VMIME_TARGET_OS "' + commands.getoutput('uname -o') + '"\n')
+ config_hpp.write('#define VMIME_TARGET_OS "' + commands.getoutput('uname -s') + '"\n')
else:
config_hpp.write('#define VMIME_TARGET_ARCH "" // Unknown\n')
config_hpp.write('#define VMIME_TARGET_OS "' + sys.platform + '/' + os.name + '"\n')