Add support for %gnu in host_os checking for shared lib...
authorArch Librarian <arch@canonical.com>
Mon, 20 Sep 2004 17:00:35 +0000 (17:00 +0000)
committerArch Librarian <arch@canonical.com>
Mon, 20 Sep 2004 17:00:35 +0000 (17:00 +0000)
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

index 70e9bff..88f758e 100644 (file)
@@ -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