From 1ad29c59f64dfbae5e1b4cd1e49bc438648f04e0 Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Sat, 27 May 2017 17:47:05 +0200 Subject: [PATCH] Makefile: OpenBSD needs -pthread --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 8310ad5..9713e26 100644 --- a/Makefile +++ b/Makefile @@ -3,8 +3,8 @@ 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 +CFLAGS+=-I/usr/local/include -pthread +LDLIBS=-L/usr/local/lib -liconv -pthread endif DESTDIR=