summaryrefslogtreecommitdiffstats
path: root/src/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/Makefile')
-rwxr-xr-xsrc/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Makefile b/src/Makefile
index cf183d2..bfe6124 100755
--- a/src/Makefile
+++ b/src/Makefile
@@ -92,6 +92,11 @@ ifneq ($(shell uname -s),FreeBSD)
LDLIBS += -ldl
endif
+# OpenBSD does not implement wordexp()
+ifeq ($(shell uname -s),OpenBSD)
+ CFLAGS += -DNO_WORDEXP
+endif
+
ifneq (, $(shell which pkg-config))
# Any system with pkg-config