summary refs log tree commit diff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index f1ce3c3..00a3533 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,9 @@
 CFLAGS+=-g -O2 -Wall -Wno-switch -Wextra -fstack-protector-strong -D_FORTIFY_SOURCE=2
 LDLIBS=-lrt
+ifdef OPENBSD
+CFLAGS+=-I/usr/local/include
+LDLIBS=-L/usr/local/lib -liconv
+endif
 
 DESTDIR=
 PREFIX=/usr/local