From 17f992a106342258a5cb4850728d17529e17110c Mon Sep 17 00:00:00 2001 From: Kenneth Reitz <me@kennethreitz.org> Date: Fri, 8 Sep 2017 12:02:03 -0400 Subject: [PATCH] Improvements (#471) * only do this on heroku-16 * history Signed-off-by: Kenneth Reitz <me@kennethreitz.org> * code comment Signed-off-by: Kenneth Reitz <me@kennethreitz.org> --- CHANGELOG.md | 4 ++++ bin/steps/geo-libs | 7 ++++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4e6400a7..3301ea3b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Python Buildpack Changelog +# 117 + +Bug fix. + # 116 Vendoring improvements. diff --git a/bin/steps/geo-libs b/bin/steps/geo-libs index fc8fa0fe..c96797fa 100755 --- a/bin/steps/geo-libs +++ b/bin/steps/geo-libs @@ -30,7 +30,12 @@ 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/." + + # Copy libjasper from build image to slug. + if [[ "$STACK" == "heroku-16" ]]; then + cp /usr/lib/x86_64-linux-gnu/libjasper.so* ".heroku/vendor/lib/." + fi + fi GDAL=$(pwd)/vendor -- GitLab