hooks/script-wrapper: fix generic_wrapper3: just replace prefix/libdir.
This commit is contained in:
parent
5af9e293fd
commit
7fec5d6aac
1 changed files with 0 additions and 2 deletions
|
@ -41,8 +41,6 @@ generic_wrapper3() {
|
|||
[ -x ${XBPS_WRAPPERDIR}/${wrapper} ] && return 0
|
||||
|
||||
cp ${XBPS_CROSS_BASE}/usr/bin/${wrapper} ${XBPS_WRAPPERDIR}
|
||||
sed -e "s,/usr/include,${XBPS_CROSS_BASE}/usr/include,g" -i ${XBPS_WRAPPERDIR}/${wrapper}
|
||||
sed -e "s,/usr/lib,${XBPS_CROSS_BASE}/usr/lib,g" -i ${XBPS_WRAPPERDIR}/${wrapper}
|
||||
sed -e "s,^libdir=.*,libdir=${XBPS_CROSS_BASE}/usr/lib,g" -i ${XBPS_WRAPPERDIR}/${wrapper}
|
||||
sed -e "s,^prefix=.*,prefix=${XBPS_CROSS_BASE}/usr," -i ${XBPS_WRAPPERDIR}/${wrapper}
|
||||
|
||||
|
|
Loading…
Reference in a new issue