cgal: don't run post_install on non-cross
This commit is contained in:
parent
675fd6031e
commit
a7d2c0ab06
|
@ -15,6 +15,9 @@ checksum=59464b1eaee892f2223ba570a7642892c999e29524ab102a6efd7c29c94a29f7
|
|||
|
||||
post_install() {
|
||||
local _xusr="${XBPS_CROSS_BASE%%/}/usr"
|
||||
if [ -z "$CROSS_BUILD" ]; then
|
||||
return 0
|
||||
fi
|
||||
sed -i -e "
|
||||
s,-I$_xusr/include\\([ \"]\\),\\1,g
|
||||
s,-L$_xusr/lib\\([ \"]\\),\\1,g
|
||||
|
|
Loading…
Reference in New Issue