summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2004-07-09 09:52:33 +0000
committerDaniel Veillard <veillard@src.gnome.org>2004-07-09 09:52:33 +0000
commit23fd193621b2938df24f9f6614b930537a6eb5d2 (patch)
tree438ed2520fe78724dc430deaf3259f784ad57f42 /python
parenta0c01163f00c6c667453eb1ce2145f9d71e40e15 (diff)
downloadlibxslt-23fd193621b2938df24f9f6614b930537a6eb5d2.tar.gz
libxslt-23fd193621b2938df24f9f6614b930537a6eb5d2.tar.bz2
libxslt-23fd193621b2938df24f9f6614b930537a6eb5d2.zip
fixes Python on 64bits box problem. Daniel
* python/libxsl.py: fixes Python on 64bits box problem. 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 404b1dc3..56aa8f1c 100644
--- a/python/libxsl.py
+++ b/python/libxsl.py
@@ -33,6 +33,9 @@ else:
pass
# print "libxslt could not guess RTLD_GLOBAL and RTLD_NOW " + \
# "on this platform: %s" % (osname)
+ except:
+ RTLD_GLOBAL = -1
+ RTLD_NOW = -1
if RTLD_GLOBAL != -1 and RTLD_NOW != -1:
try: