diff options
author | Rob Austein <sra@hactrn.net> | 2015-10-05 23:02:38 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2015-10-05 23:02:38 +0000 |
commit | 3ce032bf92f786212bd3582be24dc0e9644071e9 (patch) | |
tree | 2c56922fca170591a53c193b3d9ffe1b92a18df6 | |
parent | 1f2e749c54e68a890809c1ef596fab5e82f33b84 (diff) |
Fiddle how we specify include directories to avoid conflict with
system openssl on MacOSX with Homebrew Python 2.7.10. I //think// the
trigger for this problem was when Homebrew changed OpenSSL from
"keg-only" to full installation, thus putting OpenSSL's header files
into the default search path.
svn path=/branches/tk705/; revision=6091
-rw-r--r-- | setup.py | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -65,10 +65,10 @@ if autoconf.RP_TARGET == "rp": "rpki.gui.cacheview", "rpki.gui.api", "rpki.gui.routeview"], - ext_modules = [Extension("rpki.POW._POW", ["ext/POW.c"], - extra_compile_args = autoconf.CFLAGS.split(), - extra_link_args = (autoconf.LDFLAGS + " " + - autoconf.LIBS).split())], + ext_modules = [Extension("rpki.POW._POW", ["ext/POW.c"], + include_dirs = [cflag[2:] for cflag in autoconf.CFLAGS.split() if cflag.startswith("-I")], + extra_compile_args = [cflag for cflag in autoconf.CFLAGS.split() if not cflag.startswith("-I")], + extra_link_args = autoconf.LDFLAGS.split() + autoconf.LIBS.split())], package_data = {"rpki.gui.app" : ["migrations/*.py", "static/*/*", |