Index: SConstruct |
=================================================================== |
--- SConstruct (revision 2055) |
+++ SConstruct (working copy) |
@@ -125,7 +125,7 @@ |
} |
}, |
'os:macos': { |
- 'CCFLAGS': ['-ansi'], |
+ 'CCFLAGS': ['-ansi', '-mmacosx-version-min=10.4'], |
}, |
'os:freebsd': { |
'CCFLAGS': ['-ansi'], |
@@ -638,7 +638,7 @@ |
def GetVersion(): |
version_components = GetVersionComponents() |
- |
+ |
if version_components[len(version_components) - 1] == '0': |
version_components.pop() |
return '.'.join(version_components) |
@@ -646,10 +646,10 @@ |
def GetSpecificSONAME(): |
SONAME_PATTERN = re.compile(r"#define\s+SONAME\s+\"(.*)\"") |
- |
+ |
source = open(join(root_dir, 'src', 'version.cc')).read() |
match = SONAME_PATTERN.search(source) |
- |
+ |
if match: |
return match.group(1).strip() |
else: |