On OpenBSD libreadline needs to be linked with -ltermcap.

This commit is contained in:
Jasper Lievisse Adriaanse 2011-04-02 10:57:32 +02:00 committed by Daniel Beer
parent 68775239f3
commit 82d580898c
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ ifeq ($(UNAME),Darwin) # Mac OS X/MacPorts stuff
else
ifeq ($(UNAME),OpenBSD) # OpenBSD Ports stuff
PORTS_CFLAGS = `pkg-config --cflags libelf libusb`
PORTS_LDFLAGS = `pkg-config --libs libelf libusb`
PORTS_LDFLAGS = `pkg-config --libs libelf libusb` -ltermcap
else
PORTS_CFLAGS =
PORTS_LDFLAGS =