From fa9bbc704b0df63bbdcc7bd79358154fca2c405c Mon Sep 17 00:00:00 2001
From: Arch Librarian <arch@canonical.com>
Date: Mon, 20 Sep 2004 17:00:35 +0000
Subject: [PATCH] Add support for %gnu in host_os checking for shared lib...
 Author: doogie Date: 2003-02-09 20:27:13 GMT Add support for %gnu in host_os
 checking for shared library support(fixes netbsdelf-gnu).

---
 buildlib/environment.mak.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/buildlib/environment.mak.in b/buildlib/environment.mak.in
index 70e9bff81..88f758ece 100644
--- a/buildlib/environment.mak.in
+++ b/buildlib/environment.mak.in
@@ -55,7 +55,7 @@ NEED_SOCKLEN_T_DEFINE = @NEED_SOCKLEN_T_DEFINE@
 
 # Shared library things
 HOST_OS = @host_os@
-ifneq ($(words $(filter linux-gnu gnu%,$(HOST_OS))),0)
+ifneq ($(words $(filter linux-gnu gnu% %gnu,$(HOST_OS))),0)
    SONAME_MAGIC=-Wl,-soname -Wl,
    LFLAGS_SO=
 else
-- 
2.47.2