diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2015-01-30 11:48:29 +0100 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2015-02-04 10:49:09 +0100 |
commit | 50d78fde85a6d2cee2e28f3681b4808b69133088 (patch) | |
tree | 99d764aee3f607f58d417d90b768512628330a09 /utils/mbgl-config/build.sh | |
parent | 4b3689d18e2ef12ade8471b2f0c12db7d92a5e8d (diff) | |
download | qtlocation-mapboxgl-50d78fde85a6d2cee2e28f3681b4808b69133088.tar.gz |
fix install script
Diffstat (limited to 'utils/mbgl-config/build.sh')
-rwxr-xr-x | utils/mbgl-config/build.sh | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/utils/mbgl-config/build.sh b/utils/mbgl-config/build.sh index fe7cbdf60a..f5e6c5d482 100755 --- a/utils/mbgl-config/build.sh +++ b/utils/mbgl-config/build.sh @@ -1,17 +1,14 @@ #!/bin/bash PREFIX=$1 -PLATFORM=$2 -shift -shift +LDFLAGS=$2 VARIABLES="#!/bin/bash ## variables CONFIG_MBGL_PREFIX=$PREFIX -CONFIG_MBGL_PLATFORM=$PLATFORM -CONFIG_MBGL_LDFLAGS=\"$@\" +CONFIG_MBGL_LDFLAGS=\"`cat $LDFLAGS`\" " echo "$VARIABLES" | cat - utils/mbgl-config/mbgl-config.template.sh \ |