summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Doffman <mark.doffman@codethink.co.uk>2014-03-11 20:03:42 +0000
committerMark Doffman <mark.doffman@codethink.co.uk>2014-03-11 20:03:42 +0000
commitcb9699eb20b16d26180a721a85f7e6d3b1de2957 (patch)
tree4bcda32036fce615f98fe18cab18754e9e291b2d
parentee3d55f859d7d54cb9bd9a376fbdecca89335aee (diff)
downloadcpython-cb9699eb20b16d26180a721a85f7e6d3b1de2957.tar.gz
Add python2 symlink after install.
-rw-r--r--cpython.morph4
1 files changed, 4 insertions, 0 deletions
diff --git a/cpython.morph b/cpython.morph
index 3c2e2f0b8a..7204e394bd 100644
--- a/cpython.morph
+++ b/cpython.morph
@@ -5,4 +5,8 @@
"configure-commands": [
"./configure --prefix=\"$PREFIX\" --enable-shared"
]
+ "install-commands": [
+ "./make DESTDIR=\"$DESTDIR\" install",
+ "ln -s \"$BINDIR\"/python2.7 \"$DESTDIR\"/\"$BINDIR"\/python2"
+ ]
}