summaryrefslogtreecommitdiff
path: root/scripts/ios/package.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/ios/package.sh')
-rwxr-xr-xscripts/ios/package.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/ios/package.sh b/scripts/ios/package.sh
index 7f0fe447d1..049aa7434d 100755
--- a/scripts/ios/package.sh
+++ b/scripts/ios/package.sh
@@ -99,6 +99,9 @@ echo "Created ${OUTPUT}/static/lib${NAME}.a"
step "Copying Headers..."
mkdir -p "${OUTPUT}/static/Headers"
+for i in `ls -R include/mbgl/darwin | grep -vi private`; do
+ cp -pv include/mbgl/darwin/$i "${OUTPUT}/static/Headers"
+done
for i in `ls -R include/mbgl/ios | grep -vi private`; do
cp -pv include/mbgl/ios/$i "${OUTPUT}/static/Headers"
done