351559 remove Python2.7.wrapper (sbpython2 links libpython2.7.so with -rpath).

2 files Authored by midipix 6 years ago, Committed by Lucio Andrés Illanes Albornoz 6 years ago,
    remove Python2.7.wrapper (sbpython2 links libpython2.7.so with -rpath).
    
    Signed-off-by: Lucio Andrés Illanes Albornoz <lucio@lucioillanes.de>
    
        
file removed
-8
vars/mesa.vars DELETED
@@ -1,8 +0,0 @@
1
- #
2
- # set -o errexit -o noglob are assumed.
3
- #
4
-
5
- : ${PKG_MESA_CONFIG_CACHE_EXTRA:="
6
- ac_cv_prog_PYTHON2=${PREFIX}/bin/python2.7.wrapper"};
7
-
8
- # vim:filetype=sh
file modified
+0 -11
vars/python2_host.vars CHANGED
@@ -8,15 +8,4 @@ pkg_python2_host_fetch_git() {
8
8
ex_pkg_state_set "${PKG_NAME}" fetch -extract;
9
9
};
10
10
11
- pkg_python2_host_install_make_post() {
12
- if ex_rtl_fileop test "${PKG_DESTDIR}/bin/python2.7.wrapper"; then
13
- ex_rtl_fileop rm "${PKG_DESTDIR}/bin/python2.7.wrapper";
14
- fi;
15
- cat > "${PKG_DESTDIR}/bin/python2.7.wrapper" <<EOF
16
- #!/bin/sh
17
- env LD_LIBRARY_PATH="${PREFIX}/lib" "${PREFIX}/bin/python2.7" "\${@}";
18
- EOF
19
- chmod +x "${PKG_DESTDIR}/bin/python2.7.wrapper";
20
- };
21
-
22
11
# vim:filetype=sh