xmlsec1: apply sed substitution only in cross builds.
This commit is contained in:
parent
db2b990303
commit
7bbf86a68f
1 changed files with 3 additions and 1 deletions
|
@ -17,7 +17,9 @@ pre_configure() {
|
|||
}
|
||||
|
||||
post_install() {
|
||||
sed -e "s,${XBPS_CROSS_BASE},,g" -i ${DESTDIR}/usr/lib/xmlsec1Conf.sh
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
sed -e "s,${XBPS_CROSS_BASE},,g" -i ${DESTDIR}/usr/lib/xmlsec1Conf.sh
|
||||
fi
|
||||
}
|
||||
|
||||
xmlsec1-devel_package() {
|
||||
|
|
Loading…
Reference in a new issue