diff options
author | midipix <writeonce@midipix.org> | 2016-11-11 22:26:19 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-11-11 22:41:59 -0500 |
commit | ef83e498e38aa9877b0d921e4fc535988f5fe62f (patch) | |
tree | a870f790c2fc55a7b86ebf50d230dcd15ae44f47 /configure | |
parent | cc343775b24aa1baf028f27ff85409f2b03dcacc (diff) | |
download | apimagic-ef83e498e38aa9877b0d921e4fc535988f5fe62f.tar.bz2 apimagic-ef83e498e38aa9877b0d921e4fc535988f5fe62f.tar.xz |
build system: configure: grumpily support crooked uname output.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -347,6 +347,11 @@ native_defaults() warning_msg "config error: could not determine size of pointer on native system." fi + # grumpily support crooked uname output + if ! [ -f $mb_project_dir/sysinfo/os/$mb_native_os.mk ]; then + mb_native_os=`echo $mb_native_os | cut -d'_' -f1` + fi + # fallback os recipe if ! [ -f $mb_project_dir/sysinfo/os/$mb_native_os.mk ]; then mb_native_os='any-os'; |