OpenBSD needs -pthread for correct pthread linking.
This commit is contained in:
parent
8e4df67ff5
commit
87b1e66c27
2
Makefile
2
Makefile
|
@ -41,7 +41,7 @@ ifeq ($(UNAME),Darwin) # Mac OS X/MacPorts stuff
|
||||||
else
|
else
|
||||||
ifeq ($(UNAME),OpenBSD) # OpenBSD Ports stuff
|
ifeq ($(UNAME),OpenBSD) # OpenBSD Ports stuff
|
||||||
PORTS_CFLAGS = `pkg-config --cflags libusb`
|
PORTS_CFLAGS = `pkg-config --cflags libusb`
|
||||||
PORTS_LDFLAGS = `pkg-config --libs libusb` -ltermcap
|
PORTS_LDFLAGS = `pkg-config --libs libusb` -ltermcap -pthread
|
||||||
else
|
else
|
||||||
PORTS_CFLAGS =
|
PORTS_CFLAGS =
|
||||||
PORTS_LDFLAGS =
|
PORTS_LDFLAGS =
|
||||||
|
|
Loading…
Reference in New Issue