]> mj.ucw.cz Git - pciutils.git/commitdiff
Merge pull request #178 from OscarL/haiku-fix-build-with-dns
authorMartin Mareš <mj@ucw.cz>
Wed, 13 Mar 2024 17:55:15 +0000 (18:55 +0100)
committerGitHub <noreply@github.com>
Wed, 13 Mar 2024 17:55:15 +0000 (18:55 +0100)
Haiku: fix build with DNS=yes.

lib/configure

index 3df057ad8ffebf6878085a5113350e7bd6b9ddaf..d02160b64fee0ad8436bb93024933d849d334205 100755 (executable)
@@ -208,6 +208,9 @@ case $sys in
                echo >>$c '#define PCI_PATH_DEVMEM_DEVICE "/dev/misc/mem"'
                echo >>$c '#define PCI_PATH_ACPI_MCFG ""'
                echo >>$c '#define PCI_PATH_EFI_SYSTAB ""'
+               if [ "$sys" != "beos" ] ; then
+                       LIBRESOLV=-lnetwork
+               fi
                ;;
        sylixos)
                echo >>$c '#define PCI_PATH_SYLIXOS_DEVICE "/proc/pci"'