From 3cb6adfeb24142e5c9d38ea6aef4defa2a20d286 Mon Sep 17 00:00:00 2001 From: Daniel Veillard Date: Wed, 14 Jan 2004 15:47:32 +0000 Subject: [PATCH] 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 --- ChangeLog | 5 +++++ python/libxsl.py | 3 +++ 2 files changed, 8 insertions(+) diff --git a/ChangeLog b/ChangeLog index ca1b6e92..3454311b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Wed Jan 14 16:44:58 CET 2004 Daniel Veillard + + * python/libxsl.py: applied shared lib loading patch for OS X from + Gianni Ceccarelli + Wed Jan 14 14:28:02 HKT 2004 William Brack * libexslt/math.c, libexslt/common.c: fixed problem, 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 ? #