diff options
author | Diego Biurrun <diego@biurrun.de> | 2013-07-29 18:23:08 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2013-07-29 19:43:37 +0200 |
commit | 4822ee3ca620a92cd2b0a9a03ea9e34288192c79 (patch) | |
tree | 13e0e9c9c96d86943ddbb5a8e27adcb612e457bd | |
parent | 711c4da1af71e0d26ca93626a3c2dd48821f1cc7 (diff) | |
download | ffmpeg-4822ee3ca620a92cd2b0a9a03ea9e34288192c79.tar.gz |
configure: Detect AIX ar command instead of hardcoding it in the OS section
-rwxr-xr-x | configure | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -2707,6 +2707,9 @@ if $ar 2>&1 | grep -q Microsoft; then elif $ar 2>&1 | grep -q 'Texas Instruments'; then arflags="rq" ar_o='$@' +elif $ar 2>&1 | grep -q 'Usage: ar.*-X.*any'; then + arflags='-Xany -r -c' + ar_o='$@' else arflags="rc" ar_o='$@' @@ -3053,7 +3056,6 @@ case $target_os in SHFLAGS=-shared add_cppflags '-I\$(SRC_PATH)/compat/aix' enabled shared && add_ldflags -Wl,-brtl - ar_default='ar -Xany' ;; haiku) prefix_default="/boot/common" |