curl: prevent no-op vsed for native builds
This commit is contained in:
parent
3156f8f044
commit
bc2ebb54aa
@ -34,9 +34,13 @@ pre_configure() {
|
||||
}
|
||||
|
||||
post_install() {
|
||||
# Don't touch --configure, it reflect how curl was built
|
||||
vsed -e "/[ ]*--static-libs)/,/[ ]*;;/ s,-L$XBPS_CROSS_BASE,-L," \
|
||||
-i $DESTDIR/usr/bin/curl-config
|
||||
# Fix linker search paths when necessary
|
||||
if [ -n "$XBPS_CROSS_BASE" ]; then
|
||||
# Leave $XBPS_CROSS_BASE in --configure to reflect how it was built
|
||||
vsed -i $DESTDIR/usr/bin/curl-config \
|
||||
-e "/[ ]*--static-libs)/,/[ ]*;;/ s,-L$XBPS_CROSS_BASE,-L,"
|
||||
fi
|
||||
|
||||
vlicense COPYING
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user