summary refs log tree commit diff
path: root/Makefile
diff options
context:
space:
mode:
authorChristian Neukirchen <chneukirchen@gmail.com>2016-09-05 14:04:03 +0200
committerChristian Neukirchen <chneukirchen@gmail.com>2016-09-05 14:04:03 +0200
commit19405f51b440389127909317b4d6766939d00b1d (patch)
treecefae99fb922ddff60b8121c554bd10c70ddcf4b /Makefile
parentdfcb53dc0ff8e7f38b30d12297fc58e03405bb4b (diff)
downloadmblaze-19405f51b440389127909317b4d6766939d00b1d.tar.gz
mblaze-19405f51b440389127909317b4d6766939d00b1d.tar.xz
mblaze-19405f51b440389127909317b4d6766939d00b1d.zip
Makefile: define OPENBSD to use libiconv
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