summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2004-01-14 15:47:32 +0000
committerDaniel Veillard <veillard@src.gnome.org>2004-01-14 15:47:32 +0000
commit3cb6adfeb24142e5c9d38ea6aef4defa2a20d286 (patch)
tree4431fbab7be689a614aa238242dc353013bb239f /python
parentfbb1eec975d3d9830b14d164c0eeed5e1b98fca0 (diff)
downloadlibxslt-3cb6adfeb24142e5c9d38ea6aef4defa2a20d286.tar.gz
libxslt-3cb6adfeb24142e5c9d38ea6aef4defa2a20d286.tar.bz2
libxslt-3cb6adfeb24142e5c9d38ea6aef4defa2a20d286.zip
applied shared lib loading patch for OS X from Gianni Ceccarelli Daniel
* python/libxsl.py: applied shared lib loading patch for OS X from Gianni Ceccarelli Daniel
Diffstat (limited to 'python')
-rw-r--r--python/libxsl.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/python/libxsl.py b/python/libxsl.py
index 8190fb3a..aa0ba430 100644
--- a/python/libxsl.py
+++ b/python/libxsl.py
@@ -20,6 +20,9 @@ else:
if osname == 'Linux' or osname == 'SunOS':
RTLD_GLOBAL = 0x00100
RTLD_NOW = 0x00002
+ elif osname == 'Darwin':
+ RTLD_GLOBAL = 0x8
+ RTLD_NOW = 0x2
#
# is there a better method ?
#