diff options
author | Lucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de> | 2016-06-28 19:38:43 +0000 |
---|---|---|
committer | Lucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de> | 2016-06-28 19:38:54 +0000 |
commit | 9e86930c227028d8b4caa043ce9653645405824e (patch) | |
tree | 15840e3551eab14c5eea96fc0e567087fec0bfda /004.psxstub.vars | |
parent | 77171dc9e46707351014190ef7bf2fbefe1921a7 (diff) | |
download | midipix_build-9e86930c227028d8b4caa043ce9653645405824e.tar.bz2 midipix_build-9e86930c227028d8b4caa043ce9653645405824e.tar.xz |
psxstub: removes local patch (committed upstream;) rm(1) libpsxscl.a when installing (fixes static linking.)
bash v4.3 and coreutils v8.23: link statically.
nc (netcat) v110: pass ${C,LDFLAGS} correctly.
Diffstat (limited to '004.psxstub.vars')
-rw-r--r-- | 004.psxstub.vars | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/004.psxstub.vars b/004.psxstub.vars index 77c41c5a..2555db82 100644 --- a/004.psxstub.vars +++ b/004.psxstub.vars @@ -3,16 +3,15 @@ # pkg_psxstub_finish() { - if ! is_build_script_done patch; then - patch -b -d psxstub -p1 \ - < ${MIDIPIX_BUILD_PWD}/psxstub.local.patch; - set_build_script_done patch -install; - fi; if ! is_build_script_done install; then if [ "${TARGET}" = i686-nt32-midipix ] \ || [ "${TARGET}" = x86_64-nt64-midipix ]; then cd psxstub; make ${MAKEFLAGS} DESTDIR=${PREFIX_LVL} TARGET=${TARGET} install; + if [ -e ${PREFIX_LVL}/lib/libpsxscl.a ]; then + echo rm -f ${PREFIX_LVL}/lib/libpsxscl.a; + rm -f ${PREFIX_LVL}/lib/libpsxscl.a; + fi; set_build_script_done install finish; fi; fi; |