diff options
author | Christian Neukirchen <chneukirchen@gmail.com> | 2016-09-05 14:04:03 +0200 |
---|---|---|
committer | Christian Neukirchen <chneukirchen@gmail.com> | 2016-09-05 14:04:03 +0200 |
commit | 19405f51b440389127909317b4d6766939d00b1d (patch) | |
tree | cefae99fb922ddff60b8121c554bd10c70ddcf4b /Makefile | |
parent | dfcb53dc0ff8e7f38b30d12297fc58e03405bb4b (diff) | |
download | mblaze-19405f51b440389127909317b4d6766939d00b1d.tar.gz mblaze-19405f51b440389127909317b4d6766939d00b1d.tar.xz mblaze-19405f51b440389127909317b4d6766939d00b1d.zip |
Makefile: define OPENBSD to use libiconv
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
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 |