summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2015-03-09 12:19:26 -0700
committerGary E. Miller <gem@rellim.com>2015-03-09 12:19:26 -0700
commit597f228b74c6e353cbae49b5cdece1de2ba99dd4 (patch)
tree2d8421cb2ea64fc1c8efca680f28eb07408e7c56
parentea81d456beecf9fd70b5f90239a7d51ca8c592f2 (diff)
downloadgpsd-597f228b74c6e353cbae49b5cdece1de2ba99dd4.tar.gz
OS X will not strip the dylibs, so do not try.
OSX now builds and installs, untested.
-rw-r--r--SConstruct4
1 files changed, 2 insertions, 2 deletions
diff --git a/SConstruct b/SConstruct
index 15c779ac..7efc58ca 100644
--- a/SConstruct
+++ b/SConstruct
@@ -1399,7 +1399,7 @@ if env["shared"] and env["chrpath"]:
env.AddPostAction(binaryinstall, '$CHRPATH -r "%s" "$TARGET"' \
% (installdir('libdir', False), ))
-if not env['debug'] and not env['profiling'] and not env['nostrip']:
+if not env['debug'] and not env['profiling'] and not env['nostrip'] and not sys.platform.startswith('darwin'):
env.AddPostAction(binaryinstall, '$STRIP $TARGET')
if not env['python']:
@@ -1409,7 +1409,7 @@ else:
python_module_dir = python_lib_dir + os.sep + 'gps'
python_extensions_install = python_env.Install( DESTDIR + python_module_dir,
python_built_extensions)
- if not env['debug'] and not env['profiling'] and not env['nostrip']:
+ if not env['debug'] and not env['profiling'] and not env['nostrip'] and not sys.platform.startswith('darwin'):
python_env.AddPostAction(python_extensions_install, '$STRIP $TARGET')
python_modules_install = python_env.Install( DESTDIR + python_module_dir,