From 87b1e66c2775f069e8587b4b318805d97b5b2218 Mon Sep 17 00:00:00 2001 From: Jasper Lievisse Adriaanse Date: Tue, 18 Oct 2011 23:37:25 +0200 Subject: [PATCH] OpenBSD needs -pthread for correct pthread linking. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index b22d77e..2bfd76d 100644 --- a/Makefile +++ b/Makefile @@ -41,7 +41,7 @@ ifeq ($(UNAME),Darwin) # Mac OS X/MacPorts stuff else ifeq ($(UNAME),OpenBSD) # OpenBSD Ports stuff PORTS_CFLAGS = `pkg-config --cflags libusb` - PORTS_LDFLAGS = `pkg-config --libs libusb` -ltermcap + PORTS_LDFLAGS = `pkg-config --libs libusb` -ltermcap -pthread else PORTS_CFLAGS = PORTS_LDFLAGS =