From 19405f51b440389127909317b4d6766939d00b1d Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Mon, 5 Sep 2016 14:04:03 +0200 Subject: [PATCH] Makefile: define OPENBSD to use libiconv --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) 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