OpenBSD needs -pthread for correct pthread linking.

This commit is contained in:
Jasper Lievisse Adriaanse 2011-10-18 23:37:25 +02:00 committed by Daniel Beer
parent 8e4df67ff5
commit 87b1e66c27
1 changed files with 1 additions and 1 deletions

View File

@ -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 =