Commit fc48411a authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 5a79227a
...@@ -30,7 +30,7 @@ import os ...@@ -30,7 +30,7 @@ import os
import sys import sys
# tell cython to resolve `cimport wendelin.*` modules hierarcy starting at top-level. # tell cython to resolve `cimport wendelin.*` modules hierarchy starting at top-level.
# see wendelin.py for details. # see wendelin.py for details.
from Cython.Compiler.Main import Context as CyContext from Cython.Compiler.Main import Context as CyContext
cy_search_inc_dirs = CyContext.search_include_directories cy_search_inc_dirs = CyContext.search_include_directories
...@@ -72,7 +72,7 @@ def _with_defaults(what, *argv, **kw): ...@@ -72,7 +72,7 @@ def _with_defaults(what, *argv, **kw):
else: else:
ccdefault.append('-std=gnu++11') # not c++11 since we use typeof ccdefault.append('-std=gnu++11') # not c++11 since we use typeof
# DSOs are not yet annoated for visibility # DSOs are not yet annotated for visibility
# XXX pyext besides _bigfile.so also cannot do this because PyMODINIT_FUNC # XXX pyext besides _bigfile.so also cannot do this because PyMODINIT_FUNC
# does not include export in it. TODO reenable for _bigfile.so # does not include export in it. TODO reenable for _bigfile.so
""" """
...@@ -86,8 +86,8 @@ def _with_defaults(what, *argv, **kw): ...@@ -86,8 +86,8 @@ def _with_defaults(what, *argv, **kw):
lddefault = [] lddefault = []
# python extensions cannot be built with -Wl,--no-undefined: at runtime # python extensions cannot be built with -Wl,--no-undefined: at runtime
# they links with either python (without libpython) or libpython. linking # they link with either python (without libpython) or libpython. linking
# with both libpython and python would be wrong # with both libpython and python would be wrong.
if what == _DSO: if what == _DSO:
lddefault.append('-Wl,--no-undefined') # check DSO for undefined symbols at link time lddefault.append('-Wl,--no-undefined') # check DSO for undefined symbols at link time
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment