summaryrefslogtreecommitdiff
path: root/utils/mbgl-config/build.sh
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2015-01-30 11:48:29 +0100
committerKonstantin Käfer <mail@kkaefer.com>2015-02-04 10:49:09 +0100
commit50d78fde85a6d2cee2e28f3681b4808b69133088 (patch)
tree99d764aee3f607f58d417d90b768512628330a09 /utils/mbgl-config/build.sh
parent4b3689d18e2ef12ade8471b2f0c12db7d92a5e8d (diff)
downloadqtlocation-mapboxgl-50d78fde85a6d2cee2e28f3681b4808b69133088.tar.gz
fix install script
Diffstat (limited to 'utils/mbgl-config/build.sh')
-rwxr-xr-xutils/mbgl-config/build.sh7
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 \