From 73dec9bd24354fd2650911cd4be7b07ced67c1e1 Mon Sep 17 00:00:00 2001 From: midipix Date: Sat, 5 Jan 2019 17:40:14 -0500 Subject: project: custom config: elegantly handle --prefix= on behalf of python. --- project/config/cfgdefs.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/project/config/cfgdefs.sh b/project/config/cfgdefs.sh index ce35a70..f656f49 100644 --- a/project/config/cfgdefs.sh +++ b/project/config/cfgdefs.sh @@ -43,6 +43,18 @@ for arg ; do done +cfgdefs_set_python_prefix() +{ + if [ -z "$mb_prefix" ]; then + mb_prefix='/.' + fi + + if [ -z "$mb_exec_prefix" ]; then + mb_exec_prefix='/.' + fi +} + + cfgdefs_set_cfghost_flavors() { cfghost_set_target_cfghost @@ -443,6 +455,9 @@ cfgdefs_perform_native_tests() } +# prefix, exec_prefix +cfgdefs_set_python_prefix + # cfghost cfgdefs_set_cfghost_flavors -- cgit v1.2.3