diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2016-03-23 09:32:02 +0100 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2016-03-23 09:32:02 +0100 |
| commit | 1372bdc8cc6020460fa44a032579225699c85a4c (patch) | |
| tree | 3910a25fb0d799b6ea893dc95919e369f8c67283 | |
| parent | c124e8152a183ef13c20b82be80e0c2755d8b25c (diff) | |
| download | vis-1372bdc8cc6020460fa44a032579225699c85a4c.tar.gz vis-1372bdc8cc6020460fa44a032579225699c85a4c.tar.xz | |
configure: fix detection of libtermkey
On Cygwin the configure check for libtermkey fails due to unresolved
symbols from libcurses.
The pkg-config file of libtermkey lacks a reference to its
dependencies (either curses or unibilium). Since we depend on
curses anyway we can fix this by adding $LDFLAGS_CURSES to the
configure check.
| -rwxr-xr-x | configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -296,7 +296,7 @@ if test -z "$LDFLAGS_TERMKEY"; then LDFLAGS_TERMKEY="-ltermkey" fi -if $CC $CFLAGS $CFLAGS_TERMKEY "$tmpc" $LDFLAGS $LDFLAGS_TERMKEY \ +if $CC $CFLAGS $CFLAGS_TERMKEY "$tmpc" $LDFLAGS $LDFLAGS_TERMKEY $LDFLAGS_CURSES \ -o "$tmpo" >/dev/null 2>&1; then printf "%s\n" "yes" else |
