summary refs log tree commit diff
path: root/Makefile
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-05-01 12:42:33 -0400
committerJune McEnroe <june@causal.agency>2020-05-01 12:42:33 -0400
commitd2e5ddb52415c99a300d843347b52a9bd32c63a1 (patch)
treebe6fbf5cee4fb3d3a6087e2d47dcf7a21e97dae8 /Makefile
parentExpand documentation (diff)
downloadbubger-d2e5ddb52415c99a300d843347b52a9bd32c63a1.tar.gz
bubger-d2e5ddb52415c99a300d843347b52a9bd32c63a1.zip
Set up Makefile for FreeBSD
Diffstat (limited to '')
-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
-29Import LibreSSL 3.2.1June McEnroe 2020-09-29import: Add m4/ax_add_fortify_source.m4June McEnroe 2020-08-05build: Add README.7 to EXTRA_DIST 3.2.0June McEnroe 2020-08-03doc: Indicate that only OpenSSL 1.1.1b and newer workJune McEnroe