From 51c8b4c52d6d52b252f99320e8308fed088007c6 Mon Sep 17 00:00:00 2001 From: Achim Gsell Date: Tue, 15 Jul 2014 17:18:18 +0200 Subject: [PATCH] Python.build: set some symbolic links in bin and include to make other modules happy --- scripts/Python.build | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/scripts/Python.build b/scripts/Python.build index e2a5d89..106e4f0 100755 --- a/scripts/Python.build +++ b/scripts/Python.build @@ -8,6 +8,12 @@ function em.configure() { || exit 1 } +function em.post_install() { + ln -fs "${PREFIX}/bin/python${V%%.*}" "${PREFIX}/bin/python" + ln -fs "${PREFIX}/include/python${V%.*}m" "${PREFIX}/include/python" + ln -fs "${PREFIX}/include/python${V%.*}m" "${PREFIX}/include/python${V%.*}" +} + em.add_to_family 'Programming' em.set_runtime_dependencies "" em.set_build_dependencies "${COMPILER}"