diff options
author | Oliver Bolte <obo@openoffice.org> | 2006-01-16 14:53:50 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2006-01-16 14:53:50 +0000 |
commit | 63046d260103b519feb824e5baabe2d8cc677ca1 (patch) | |
tree | 3f2e7de44876665534b4b65d1c93e3085d079355 /python | |
parent | 1f9f038fd9a2a2103e8bdad3ff1e7bc8a6cdbaf8 (diff) |
INTEGRATION: CWS macosxpython (1.7.4); FILE MERGED
2006/01/11 20:03:34 pjanik 1.7.4.2: #i60099#: Install .dylib library so it can be delivered.
2006/01/07 09:13:44 pjanik 1.7.4.1: #i60099#: Shared objects for Python have .so suffix on Mac OS X as well.
Diffstat (limited to 'python')
-rwxr-xr-x | python/Python-2.3.4.patch | 42 |
1 files changed, 12 insertions, 30 deletions
diff --git a/python/Python-2.3.4.patch b/python/Python-2.3.4.patch index 922e270ef5e7..f695248ae7d0 100755 --- a/python/Python-2.3.4.patch +++ b/python/Python-2.3.4.patch @@ -53,6 +53,18 @@ libpython$(VERSION).sl: $(LIBRARY_OBJS) $(LDSHARED) -o $@ $(LIBRARY_OBJS) $(LIBC) $(LIBM) +*************** +*** 615,620 **** +--- 618,626 ---- + fi; \ + else true; \ + fi ++ if test -f libpython$(VERSION).dylib; then \ ++ $(INSTALL_SHARED) libpython$(VERSION).dylib $(DESTDIR)$(LIBDIR)/$(INSTSONAME); \ ++ fi + + # Install the manual page + maninstall: *** misc/Python-2.3.4/configure Fri May 7 21:13:40 2004 --- misc/build/Python-2.3.4/configure Thu Sep 1 19:40:57 2005 *************** @@ -130,16 +142,6 @@ esac ;; *************** -*** 10031,10036 **** ---- 10047,10053 ---- - case $ac_sys_system in - hp*|HP*) SO=.sl;; - CYGWIN*) SO=.dll;; -+ Darwin*) SO=.dylib;; - *) SO=.so;; - esac - else -*************** *** 10082,10088 **** LDSHARED="$LDSHARED "'-framework $(PYTHONFRAMEWORK)' else @@ -13824,23 +13826,3 @@ ! ! !ENDIF ! -*** misc/Python-2.3.4/Python/dynload_shlib.c Sat May 3 11:14:53 2003 ---- misc/build/Python-2.3.4/Python/dynload_shlib.c Thu Sep 1 19:40:58 2005 -*************** -*** 46,55 **** ---- 46,60 ---- - {"module.exe", "rb", C_EXTENSION}, - {"MODULE.EXE", "rb", C_EXTENSION}, - #else -+ #ifdef __APPLE__ -+ {".dylib", "rb", C_EXTENSION}, -+ {"module.dylib", "rb", C_EXTENSION}, -+ #else - {".so", "rb", C_EXTENSION}, - {"module.so", "rb", C_EXTENSION}, - #endif - #endif -+ #endif - #endif - {0, 0} - }; |