]> git.saurik.com Git - apt.git/commitdiff
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 70e9bff8176a3ea63361e3e523785328b53718a3..88f758eced4c358ef42f6626e01ee39b0e0d6cc3 100644 (file)
@@ -55,7 +55,7 @@ NEED_SOCKLEN_T_DEFINE = @NEED_SOCKLEN_T_DEFINE@
 
 # Shared library things
 HOST_OS = @host_os@
 
 # 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
    SONAME_MAGIC=-Wl,-soname -Wl,
    LFLAGS_SO=
 else