Commit 0e1083fb authored by Tiago Peixoto's avatar Tiago Peixoto
Browse files

Fix dependence on DLFCN on buggy python installations

I'm looking at you, macports.
parent 42d0f5fe
......@@ -21,7 +21,7 @@ import sys, string, hashlib, os.path, re, glob
from .. import *
from .. import libgraph_tool_core
import numpy
import DLFCN
from .. dl_import import RTLD_LAZY, RTLD_GLOBAL
import scipy.weave
......@@ -251,7 +251,7 @@ def inline(code, arg_names=None, local_dict=None,
# friends to work properly across DSO boundaries. See
orig_dlopen_flags = sys.getdlopenflags()
sys.setdlopenflags(RTLD_LAZY | RTLD_GLOBAL)
# call weave and pass all the updated kw arguments
ret_vals = \
Supports Markdown
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