diff --git a/configure.ac b/configure.ac index 17825f0304..2a4a57d799 100644 --- a/configure.ac +++ b/configure.ac @@ -384,7 +384,7 @@ else target_os=darwin ;; *) - target_os=`echo $host_os | sed 's/-gnu//'` + target_os=`echo $host_os | sed 's/-gnu.*//'` ;; esac