diff --git a/bin/compile b/bin/compile
index d97af680d5428c3abb0d5f72444608a72df2248e..ec68d359a1e7c44b96590797c32dd6ace217d318 100755
--- a/bin/compile
+++ b/bin/compile
@@ -286,6 +286,11 @@ source "$BIN_DIR/steps/sqlite3"
 buildpack_sqlite3_install
 mtime "sqlite3.install.time" "${start}"
 
+# Source compile variables
+if [ -f .python-compile-env ]; then
+  source .python-compile-env
+fi
+
 # pip install
 # -----------