diff options
author | Michael Stahl <mstahl@redhat.com> | 2013-04-19 15:33:57 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2013-04-19 16:16:34 +0200 |
commit | b865ff3d75a4611eaefe1f35b0dc9c7d9256f1ff (patch) | |
tree | 152ea51574bbd96d1be60ad617cd75dc36d6ae86 /pyuno | |
parent | 9dd52eb86a9122e34c307a9160ae3ccd5706c94e (diff) |
python3: put an RPATH into python binary ...
... and get rid of LD_LIBRARY_PATH hack in wrapper shell script.
Change-Id: I7d91c6086460504d656de7b018087264165f396b
Diffstat (limited to 'pyuno')
-rw-r--r-- | pyuno/CustomTarget_python_shell.mk | 1 | ||||
-rw-r--r-- | pyuno/zipcore/nonmac.sh | 4 |
2 files changed, 0 insertions, 5 deletions
diff --git a/pyuno/CustomTarget_python_shell.mk b/pyuno/CustomTarget_python_shell.mk index f4df015b8217..0f254bad43b1 100644 --- a/pyuno/CustomTarget_python_shell.mk +++ b/pyuno/CustomTarget_python_shell.mk @@ -47,7 +47,6 @@ $(call gb_CustomTarget_get_workdir,pyuno/python_shell)/os.sh : \ $(SRCDIR)/pyuno/zipcore/$(if $(filter MACOSX,$(OS)),mac,nonmac).sh $(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),SED,1) sed -e "s/%%PYVERSION%%/$(pyuno_PYTHON_SHELL_VERSION)/g" \ - -e "s/%%OOO_LIBRARY_PATH_VAR%%/$(gb_Helper_LIBRARY_PATH_VAR)/g" \ $< > $@ # vim: set noet sw=4 ts=4: diff --git a/pyuno/zipcore/nonmac.sh b/pyuno/zipcore/nonmac.sh index 0757b11fca0b..791a3404282a 100644 --- a/pyuno/zipcore/nonmac.sh +++ b/pyuno/zipcore/nonmac.sh @@ -1,7 +1,3 @@ -# Set %%OOO_LIBRARY_PATH_VAR%% so that python.bin finds libpython2.6.so (this -# can go once python.bin contains a proper RPATH): -%%OOO_LIBRARY_PATH_VAR%%=$sd_prog${%%OOO_LIBRARY_PATH_VAR%%:+:$%%OOO_LIBRARY_PATH_VAR%%} -export %%OOO_LIBRARY_PATH_VAR%% PYTHONPATH=$sd_prog:$sd_prog/python-core-%%PYVERSION%%/lib:$sd_prog/python-core-%%PYVERSION%%/lib/lib-dynload:$sd_prog/python-core-%%PYVERSION%%/lib/lib-tk:$sd_prog/python-core-%%PYVERSION%%/lib/site-packages${PYTHONPATH+:$PYTHONPATH} export PYTHONPATH |