summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--data/libvpx/toolchain.diff2
-rwxr-xr-xutil/pkg-config.sh4
2 files changed, 5 insertions, 1 deletions
diff --git a/data/libvpx/toolchain.diff b/data/libvpx/toolchain.diff
index 8f60f97f5..5c25ba44d 100644
--- a/data/libvpx/toolchain.diff
+++ b/data/libvpx/toolchain.diff
@@ -63,7 +63,7 @@ diff -ur libvpx-1.8.0/build/make/configure.sh libvpx-1.8.0+iPhone/build/make/con
- tgt_isa=$(echo ${toolchain} | awk 'BEGIN{FS="-"}{print $1}')
- tgt_os=$(echo ${toolchain} | awk 'BEGIN{FS="-"}{print $2}')
- tgt_cc=$(echo ${toolchain} | awk 'BEGIN{FS="-"}{print $3}')
-+ if [ "$(echo ${toolchain} | awk 'BEGIN{FS="-"}{print NF}')" == "4" ]; then
++ if [ "$(echo ${toolchain} | awk 'BEGIN{FS="-"}{print NF}')" = "4" ]; then
+ tgt_isa=$(echo ${toolchain} | awk 'BEGIN{FS="-"}{print $1}')
+ tgt_flavor=$(echo ${toolchain} | awk 'BEGIN{FS="-"}{print $2}')
+ tgt_os=$(echo ${toolchain} | awk 'BEGIN{FS="-"}{print $3}')
diff --git a/util/pkg-config.sh b/util/pkg-config.sh
index c1dc486c1..94edf7d95 100755
--- a/util/pkg-config.sh
+++ b/util/pkg-config.sh
@@ -8,6 +8,10 @@ declare -a pkgs
unset dbpf
while [[ $# -ne 0 ]]; do case "$1" in
+ (--version)
+ echo "0.29.1"
+ exit 0
+ ;;
(--atleast-pkgconfig-version)
exec pkg-config "$1" "$2"
;;