about 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 1ae3fb2..978af40 100644
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,12 @@
 PREFIX = /usr/local
 SHAREDIR = ${PREFIX}/share
 MANDIR = ${SHAREDIR}/man
+LIBRESSL_PREFIX = /usr/local
 
 CFLAGS += -std=c11 -Wall -Wextra -Wpedantic
+# XXX: avoid iconv.h from libiconv
+CFLAGS += -idirafter ${LIBRESSL_PREFIX}/include
+LDFLAGS += -L${LIBRESSL_PREFIX}/lib
 LDLIBS = -ltls
 
 -include config.mk