Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Commit

Permalink
[ios] libtool smush libgeojsonvt.a
Browse files Browse the repository at this point in the history
add libuv and geojsonvt first in libtool smush
use visibility-default geojsonvt branch
  • Loading branch information
mikemorris committed Oct 31, 2015
1 parent c815bda commit 6da2367
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 8 deletions.
2 changes: 1 addition & 1 deletion scripts/android/configure.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ LIBUV_VERSION=1.7.5
ZLIB_VERSION=system
NUNICODE_VERSION=1.6
LIBZIP_VERSION=0.11.2
GEOJSONVT_VERSION=2.1.6.2
GEOJSONVT_VERSION=visibility-default
VARIANT_VERSION=1.0
RAPIDJSON_VERSION=1.0.2

Expand Down
2 changes: 1 addition & 1 deletion scripts/ios/configure.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ BOOST_VERSION=1.59.0
SQLITE_VERSION=system
LIBUV_VERSION=1.7.5
ZLIB_VERSION=system
GEOJSONVT_VERSION=2.1.6.2
GEOJSONVT_VERSION=visibility-default
VARIANT_VERSION=1.0
RAPIDJSON_VERSION=1.0.2
10 changes: 6 additions & 4 deletions scripts/ios/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -74,15 +74,17 @@ step "Building static library..."
LIBS=(core.a platform-ios.a asset-fs.a cache-sqlite.a http-nsurl.a)
if [[ "${BUILD_FOR_DEVICE}" == true ]]; then
libtool -static -no_warning_for_no_symbols \
`find mason_packages/ios-${IOS_SDK_VERSION} -type f -name libuv.a` \
`find mason_packages/ios-${IOS_SDK_VERSION} -type f -name libgeojsonvt.a` \
-o ${OUTPUT}/static/lib${NAME}.a \
${LIBS[@]/#/build/${BUILDTYPE}-iphoneos/libmbgl-} \
${LIBS[@]/#/build/${BUILDTYPE}-iphonesimulator/libmbgl-} \
`find mason_packages/ios-${IOS_SDK_VERSION} -type f -name libuv.a`
${LIBS[@]/#/build/${BUILDTYPE}-iphonesimulator/libmbgl-}
else
libtool -static -no_warning_for_no_symbols \
`find mason_packages/ios-${IOS_SDK_VERSION} -type f -name libuv.a` \
`find mason_packages/ios-${IOS_SDK_VERSION} -type f -name libgeojsonvt.a` \
-o ${OUTPUT}/static/lib${NAME}.a \
${LIBS[@]/#/build/${BUILDTYPE}-iphonesimulator/libmbgl-} \
`find mason_packages/ios-${IOS_SDK_VERSION} -type f -name libuv.a`
${LIBS[@]/#/build/${BUILDTYPE}-iphonesimulator/libmbgl-}
fi
echo "Created ${OUTPUT}/static/lib${NAME}.a"

Expand Down
2 changes: 1 addition & 1 deletion scripts/linux/configure.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ LIBUV_VERSION=1.7.5
ZLIB_VERSION=system
NUNICODE_VERSION=1.6
LIBZIP_VERSION=1.0.1
GEOJSONVT_VERSION=2.1.6.2
GEOJSONVT_VERSION=visibility-default
VARIANT_VERSION=1.0
RAPIDJSON_VERSION=1.0.2
GTEST_VERSION=1.7.0
Expand Down
2 changes: 1 addition & 1 deletion scripts/osx/configure.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ LIBUV_VERSION=1.7.5
ZLIB_VERSION=system
NUNICODE_VERSION=1.6
LIBZIP_VERSION=1.0.1
GEOJSONVT_VERSION=2.1.6.2
GEOJSONVT_VERSION=visibility-default
VARIANT_VERSION=1.0
RAPIDJSON_VERSION=1.0.2
GTEST_VERSION=1.7.0

0 comments on commit 6da2367

Please sign in to comment.