mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 15:43:49 +02:00
curl: prevent no-op vsed for native builds
This commit is contained in:
parent
3156f8f044
commit
bc2ebb54aa
1 changed files with 7 additions and 3 deletions
|
@ -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…
Add table
Reference in a new issue