Skip to content
Snippets Groups Projects
Commit 86c65c69 authored by Florent Lamiraux's avatar Florent Lamiraux Committed by Florent Lamiraux florent@laas.fr
Browse files

Replace dl module by DLFCN.

parent b7a114a8
No related branches found
No related tags found
No related merge requests found
......@@ -3,11 +3,11 @@ Copyright (c) 2010 CNRS
Author: Florent Lamiraux
"""
import sys, dl
import sys, DLFCN
flags = sys.getdlopenflags()
# Import C++ symbols in a global scope
# This is necessary for signal compiled in different modules to be compatible
sys.setdlopenflags(dl.RTLD_NOW|dl.RTLD_GLOBAL)
sys.setdlopenflags(DLFCN.RTLD_NOW|DLFCN.RTLD_GLOBAL)
from wrap import *
# Recover previous flags
sys.setdlopenflags(flags)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment