From db1f1a7346117241e750ec9c4689d3875ead5fd9 Mon Sep 17 00:00:00 2001 From: midipix Date: Jan 05 2019 22:40:14 +0000 Subject: project: custom config: elegantly handle --prefix= on behalf of python. --- 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