diff options
author | midipix <writeonce@midipix.org> | 2016-11-11 22:26:19 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-11-11 22:42:22 -0500 |
commit | 28428437e86a072b94b4c5f42cd8479815fd9311 (patch) | |
tree | 0bebd50e1ab858b5f3882e56b734e4745012ede4 | |
parent | ed5c35cc508a3dd2a46f3d2838669a3dea9b3c3c (diff) | |
download | slibtool-28428437e86a072b94b4c5f42cd8479815fd9311.tar.bz2 slibtool-28428437e86a072b94b4c5f42cd8479815fd9311.tar.xz |
build system: configure: grumpily support crooked uname output.
-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'; |