]> mj.ucw.cz Git - pciutils.git/commitdiff
Haiku: fix build with DNS=yes.
authorOscar Lesta <oscar.lesta@gmail.com>
Wed, 13 Mar 2024 06:26:13 +0000 (03:26 -0300)
committerOscar Lesta <oscar.lesta@gmail.com>
Wed, 13 Mar 2024 06:26:13 +0000 (03:26 -0300)
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"'