From 002780c2d9c0ee300e71790a9025a32a26670c25 Mon Sep 17 00:00:00 2001
From: Zach McCormick <zach@trailblazingtech.com>
Date: Fri, 8 Sep 2017 10:43:28 -0500
Subject: [PATCH] Adding step to copy libjasper to vendor lib directory so that
 libgdal will load (#449)

---
 bin/steps/geo-libs | 1 +
 1 file changed, 1 insertion(+)

diff --git a/bin/steps/geo-libs b/bin/steps/geo-libs
index c41efb40..fc8fa0fe 100755
--- a/bin/steps/geo-libs
+++ b/bin/steps/geo-libs
@@ -30,6 +30,7 @@ if [[ "$BUILD_WITH_GEO_LIBRARIES" ]]; then
     curl "$VENDORED_GDAL" -s | tar zxv -C .heroku/vendor &> /dev/null
     curl "$VENDORED_GEOS" -s | tar zxv -C .heroku/vendor &> /dev/null
     curl "$VENDORED_PROJ" -s | tar zxv -C .heroku/vendor &> /dev/null
+    cp /usr/lib/x86_64-linux-gnu/libjasper.so* ".heroku/vendor/lib/."
   fi
 
   GDAL=$(pwd)/vendor
-- 
GitLab