mirror of
https://github.com/mpv-player/mpv
synced 2024-10-22 08:51:57 +02:00
configure: Make multiple --extra-cflags/ldflags additive
This change makes it easier to pass those flags from a build script while still allowing the user to specify additional flags too.
This commit is contained in:
parent
546c3fb53c
commit
4ab6e16888
4
configure
vendored
4
configure
vendored
@ -810,10 +810,10 @@ for ac_option do
|
||||
;;
|
||||
|
||||
--extra-cflags=*)
|
||||
extra_cflags=$(echo $ac_option | cut -d '=' -f 2-)
|
||||
extra_cflags="$extra_cflags $(echo $ac_option | cut -d '=' -f 2-)"
|
||||
;;
|
||||
--extra-ldflags=*)
|
||||
extra_ldflags=$(echo $ac_option | cut -d '=' -f 2-)
|
||||
extra_ldflags="$extra_ldflags $(echo $ac_option | cut -d '=' -f 2-)"
|
||||
;;
|
||||
--extra-libs=*)
|
||||
extra_libs=$(echo $ac_option | cut -d '=' -f 2)
|
||||
|
Loading…
Reference in New Issue
Block a user