Increase safebrowsing download check timeout.
[chromium-blink-merge.git] / build / linux / libgcrypt-config-wrapper
blob48a2a8e59fb2fb3c5c84c24b6265d2c12793776b
1 #!/bin/bash
3 # This program wraps around libgcrypt-config to generate the correct include and
4 # library paths when cross-compiling using a sysroot.
6 sysroot="$1"
7 shift
9 if [ -z "$sysroot" ]
10 then
11 echo "usage: $0 /path/to/sysroot [libgcrypt-config-arguments]" >&2
12 exit 1
15 config_path=$sysroot/usr/bin/libgcrypt-config
16 set -e
17 echo `$config_path "$@" | sed -e 's|/|'$sysroot'/|'`