xbps-src: disable -Wl,--as-needed if $broken_as_needed is set.
This commit is contained in:
parent
50539bf0bb
commit
e6abf71b04
3 changed files with 10 additions and 1 deletions
|
@ -113,6 +113,10 @@ configure_src_phase()
|
|||
conf_ldflags="$XBPS_LDFLAGS"
|
||||
fi
|
||||
|
||||
if [ -n "$broken_as_needed" ]; then
|
||||
export XBPS_LDFLAGS="$(echo $XBPS_LDFLAGS|sed -e "s|-Wl,--as-needed||g")"
|
||||
fi
|
||||
|
||||
case "$build_style" in
|
||||
gnu_configure|gnu-configure) run_func do_gnu_configure ;;
|
||||
configure) run_func do_configure ;;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue