Created
September 20, 2016 10:06
-
-
Save jpata/1fd7a3c65ed9f17c99c2743fe1b49701 to your computer and use it in GitHub Desktop.
root_numpy setup.py patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/setup.py b/setup.py | |
index 6569037..48d1603 100755 | |
--- a/setup.py | |
+++ b/setup.py | |
@@ -80,8 +80,9 @@ librootnumpy = Extension( | |
extra_compile_args=root_cflags + [ | |
'-Wno-unused-function', | |
'-Wno-write-strings', | |
+ '-mmacosx-version-min=10.7' | |
], | |
- extra_link_args=root_ldflags + ['-lTreePlayer']) | |
+ extra_link_args=root_ldflags + ['-lTreePlayer', '-mmacosx-version-min=10.7']) | |
ext_modules = [librootnumpy] | |
packages = [ | |
@@ -106,8 +107,9 @@ if has_tmva and not os.getenv('NOTMVA', None): | |
extra_compile_args=root_cflags + [ | |
'-Wno-unused-function', | |
'-Wno-write-strings', | |
+ '-mmacosx-version-min=10.7' | |
], | |
- extra_link_args=root_ldflags + ['-lTMVA']) | |
+ extra_link_args=root_ldflags + ['-lTMVA', '-mmacosx-version-min=10.7']) | |
ext_modules.append(librootnumpy_tmva) | |
packages.append('root_numpy.tmva') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment