Skip to content

Commit

Permalink
Skip -ldl on NetBSD; it does not exist. Skip -lrt on NetBSD; it is
Browse files Browse the repository at this point in the history
not required.  Same treatment as FreeBSD.
  • Loading branch information
thorpej committed Mar 3, 2024
1 parent 896e5e7 commit ecce27c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit ecce27c

Please sign in to comment.