aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOscar Lesta <oscar.lesta@gmail.com>2024-03-13 03:26:13 -0300
committerOscar Lesta <oscar.lesta@gmail.com>2024-03-13 03:26:13 -0300
commit1b39cd53fa090d2e003f3888609e4e67bac88628 (patch)
tree69a8c412080480a4a79b915d630c661d8a108ef4
parentb6548a5bf7f695b9e3e434c0393e673905e7f1f9 (diff)
downloadpciutils-1b39cd53fa090d2e003f3888609e4e67bac88628.tar.gz
Haiku: fix build with DNS=yes.
-rwxr-xr-xlib/configure3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/configure b/lib/configure
index 3df057a..d02160b 100755
--- a/lib/configure
+++ b/lib/configure
@@ -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"'