summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gyp/install.gypi1
-rw-r--r--utils/mbgl-config/mbgl-config.template.sh6
2 files changed, 3 insertions, 4 deletions
diff --git a/gyp/install.gypi b/gyp/install.gypi
index 0eadb94f56..f3ff2002bc 100644
--- a/gyp/install.gypi
+++ b/gyp/install.gypi
@@ -29,7 +29,6 @@
'./utils/mbgl-config/build.sh',
'<(install_prefix)',
'<(platform)',
- 'mbgl',
]
}
]
diff --git a/utils/mbgl-config/mbgl-config.template.sh b/utils/mbgl-config/mbgl-config.template.sh
index 87f4d50e1f..2b1b1a1224 100644
--- a/utils/mbgl-config/mbgl-config.template.sh
+++ b/utils/mbgl-config/mbgl-config.template.sh
@@ -12,7 +12,7 @@ Help Options:
Application Options:
--prefix output prefix where mbgl is installed
--libs output -L flags
- --includes output -I flags
+ --includedir output include directory path
EOF
exit $1
@@ -46,8 +46,8 @@ while test $# -gt 0; do
echo -L${CONFIG_MBGL_PREFIX}/lib -lmbgl -lmbgl-${CONFIG_MBGL_PLATFORM} -lmbgl-headless
;;
- --includes)
- echo -I${CONFIG_MBGL_PREFIX}/include/mbgl
+ --includedir)
+ echo ${CONFIG_MBGL_PREFIX}/include
;;
*)