Skip to content

Commit

Permalink
The dl library is not available on OpenBSD either
Browse files Browse the repository at this point in the history
  • Loading branch information
sjmulder committed Jun 15, 2018
1 parent 69f863e commit 9240d98
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,11 @@ ifneq (, $(shell which gnuplot))
CFLAGS += -DGNUPLOT
endif

# dynamic linking (should not be used in FreeBSD
# dynamic linking (not available in FreeBSD and OpenBSD)
ifneq ($(shell uname -s),FreeBSD)
LDLIBS += -ldl
ifneq ($(shell uname -s),OpenBSD)
LDLIBS += -ldl
endif
endif

# OpenBSD does not implement wordexp()
Expand Down

0 comments on commit 9240d98

Please sign in to comment.