diff --git a/gyp/install.gypi b/gyp/install.gypi index 0eadb94f5..f3ff2002b 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 87f4d50e1..2b1b1a122 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 ;; *)