diff options
author | Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> | 2011-06-06 18:21:14 +0200 |
---|---|---|
committer | Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> | 2011-06-06 19:29:37 +0200 |
commit | e9d4bad4408320425dd0916065f4a484a9393af1 (patch) | |
tree | b9697c7143efcfa8a9151f1427c124cb0c01b69b /python/pyversion.mk | |
parent | 251b4d282b26d65ff17fd404727e9359f495b227 (diff) |
allow building internal Python on Mac (needs to be built as framework)
fixes #i111496# (meta), #i111498# & #i111500#
(along with the similar commits to the other repos)
Diffstat (limited to 'python/pyversion.mk')
-rw-r--r-- | python/pyversion.mk | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/python/pyversion.mk b/python/pyversion.mk index 71b5acffd278..baba53838d3f 100644 --- a/python/pyversion.mk +++ b/python/pyversion.mk @@ -7,11 +7,15 @@ PYVERSION=$(PYMAJOR).$(PYMINOR).$(PYMICRO) .IF "$(GUI)" == "UNX" .IF "$(OS)" == "MACOSX" -PY_FULL_DLL_NAME=libpython$(PYMAJOR).$(PYMINOR).dylib +PY_FULL_DLL_NAME=libpython$(PYMAJOR).$(PYMINOR).a +PYTHONLIB=-F$(SOLARLIBDIR) -framework OOoPython +CFLAGS+=-I$(SOLARLIBDIR)/OOoPython.framework/Versions/$(PYMAJOR).$(PYMINOR)/include/python$(PYMAJOR).$(PYMINOR) +# needed to fix install_name in pyuno +PYTHON_MAKEINSTALLDIR=%%replaceme%% .ELSE PY_FULL_DLL_NAME=libpython$(PYMAJOR).$(PYMINOR).so.1.0 -.ENDIF PYTHONLIB=-lpython$(PYMAJOR).$(PYMINOR) +.ENDIF .ELSE .IF "$(COM)" == "GCC" PY_FULL_DLL_NAME=libpython$(PYMAJOR).$(PYMINOR).dll |