From 652c616048745cf78df656536fefed18e595f6d9 Mon Sep 17 00:00:00 2001 From: Mike Morris Date: Tue, 28 Oct 2014 13:42:23 -0400 Subject: build simple, working mbgl-config script from gyp --- utils/mbgl-config/build.sh | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 utils/mbgl-config/build.sh (limited to 'utils/mbgl-config/build.sh') diff --git a/utils/mbgl-config/build.sh b/utils/mbgl-config/build.sh new file mode 100755 index 0000000000..4fd4a93cfc --- /dev/null +++ b/utils/mbgl-config/build.sh @@ -0,0 +1,17 @@ +#!/bin/bash + +PREFIX=$1 +PLATFORM=$2 + +VARIABLES="#!/bin/bash + +## variables + +CONFIG_MBGL_PREFIX=$PREFIX +CONFIG_MBGL_PLATFORM=$PLATFORM +" + +echo "$VARIABLES" | cat - utils/mbgl-config/mbgl-config.template.sh \ + > $PREFIX/bin/mbgl-config + +chmod 755 $PREFIX/bin/mbgl-config -- cgit v1.2.1