aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Mareš <mj@ucw.cz>2024-03-13 18:55:15 +0100
committerGitHub <noreply@github.com>2024-03-13 18:55:15 +0100
commit4c19d58638fca585f330c48ac5951ca88aed9452 (patch)
tree20327bb73c407bc413357a0c236d130e6dadc71a
parentc76c7b8811598e8e62500e6b2c06e9fc64a14a23 (diff)
parent1b39cd53fa090d2e003f3888609e4e67bac88628 (diff)
downloadpciutils-4c19d58638fca585f330c48ac5951ca88aed9452.tar.gz
Merge pull request #178 from OscarL/haiku-fix-build-with-dns
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"'