From 067422b4b480334cce714aa0597c07f9cc98ade5 Mon Sep 17 00:00:00 2001
From: Kenneth Reitz <me@kennethreitz.com>
Date: Thu, 12 Jun 2014 16:46:34 -0400
Subject: [PATCH] disabled shared for python-2.7.7 (for reportlab)

---
 builds/runtimes/python-2.7.7        |  2 +-
 builds/runtimes/python-2.7.7-shared | 15 +++++++++++++++
 2 files changed, 16 insertions(+), 1 deletion(-)
 create mode 100755 builds/runtimes/python-2.7.7-shared

diff --git a/builds/runtimes/python-2.7.7 b/builds/runtimes/python-2.7.7
index 2c6a60e1..7ff982fd 100755
--- a/builds/runtimes/python-2.7.7
+++ b/builds/runtimes/python-2.7.7
@@ -10,6 +10,6 @@ curl -L $SOURCE_TARBALL | tar xz
 mv Python-2.7.7 src
 cd src
 
-./configure --prefix=$OUT_PREFIX --enable-shared
+./configure --prefix=$OUT_PREFIX
 make
 make install
diff --git a/builds/runtimes/python-2.7.7-shared b/builds/runtimes/python-2.7.7-shared
new file mode 100755
index 00000000..2c6a60e1
--- /dev/null
+++ b/builds/runtimes/python-2.7.7-shared
@@ -0,0 +1,15 @@
+#!/usr/bin/env bash
+# Build Path: /app/.heroku/python/
+# Build Deps: libraries/sqlite
+
+OUT_PREFIX=$1
+
+echo "Building Python..."
+SOURCE_TARBALL='http://python.org/ftp/python/2.7.7/Python-2.7.7.tgz'
+curl -L $SOURCE_TARBALL | tar xz
+mv Python-2.7.7 src
+cd src
+
+./configure --prefix=$OUT_PREFIX --enable-shared
+make
+make install
-- 
GitLab