Merge pull request #29 from thorpej/dev/pkgsrc-patch-NetBSD-1

Fix building on NetBSD
This commit is contained in:
Miodrag Milanović 2024-04-11 14:48:28 +02:00 committed by GitHub
commit 1446b7549f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -137,11 +137,11 @@ endif
# LIBS := -ldl -lrt
LIBS += -lm
ifneq ($(OS), $(filter $(OS), FreeBSD OpenBSD))
ifneq ($(OS), $(filter $(OS), FreeBSD OpenBSD NetBSD))
LIBS += -ldl
endif
ifneq ($(OS), $(filter $(OS), FreeBSD OpenBSD Darwin))
ifneq ($(OS), $(filter $(OS), FreeBSD OpenBSD NetBSD Darwin))
LIBS += -lrt
endif