mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
gst/__init__.py: Import libxml2 (if available) at import time with GLOBAL and LAZY flags.
Original commit message from CVS: * gst/__init__.py: Import libxml2 (if available) at import time with GLOBAL and LAZY flags. Fixes #398567
This commit is contained in:
parent
34f77d7db3
commit
e8b581108d
2 changed files with 11 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
2007-03-02 Edward Hervey <edward@fluendo.com>
|
||||
|
||||
* gst/__init__.py:
|
||||
Import libxml2 (if available) at import time with GLOBAL and LAZY flags.
|
||||
Fixes #398567
|
||||
|
||||
2007-03-01 Edward Hervey <edward@fluendo.com>
|
||||
|
||||
* gst/__init__.py:
|
||||
|
|
|
@ -112,7 +112,11 @@ if RTLD_GLOBAL != -1 and RTLD_LAZY != -1:
|
|||
sys.setdlopenflags(RTLD_LAZY | RTLD_GLOBAL)
|
||||
from _gst import *
|
||||
import interfaces
|
||||
|
||||
try:
|
||||
import libxml2
|
||||
except:
|
||||
pass
|
||||
|
||||
version = get_gst_version
|
||||
|
||||
sys.setdlopenflags(dlsave)
|
||||
|
|
Loading…
Reference in a new issue