summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 013217c..e9cda6a 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