diff options
author | Andrés M <andmarti1424@users.noreply.github.com> | 2018-07-16 15:44:29 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-16 15:44:29 -0300 |
commit | eb807201c320d1991203e1bf9d98c92b0fc0afad (patch) | |
tree | b47234644c09911a93aa3c88f9e063ffffb61a62 /src/Makefile | |
parent | 8d835aba0ca38182d7ef3d940b6fe653a6c74b59 (diff) | |
parent | 991e3c75ab41ccaee41ceefc8b36853e2655b527 (diff) |
Merge pull request #267 from sjmulder/openbsd
OpenBSD support (mostly wordexp() workaround)
Diffstat (limited to 'src/Makefile')
-rwxr-xr-x | src/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Makefile b/src/Makefile index e42ce58..fb08e9a 100755 --- a/src/Makefile +++ b/src/Makefile @@ -87,6 +87,11 @@ ifneq (, $(shell which gnuplot)) CFLAGS += -DGNUPLOT endif +# OpenBSD does not implement wordexp() +ifeq ($(shell uname -s),OpenBSD) + CFLAGS += -DNO_WORDEXP +endif + # dynamic linking (not available in BSD) ifneq ($(shell uname -s | grep -o BSD),BSD) LDLIBS += -ldl |