diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2016-04-22 18:32:45 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2016-04-22 18:32:45 +0200 |
| commit | 43f88d0ae0831fa1e9f930b6f0882e3a2109426e (patch) | |
| tree | 81a9efc65195d0d2103aaa7eda4bb49545a544e4 /configure | |
| parent | 398f44415c89f478298861c3ff655bdbda716af1 (diff) | |
| download | vis-43f88d0ae0831fa1e9f930b6f0882e3a2109426e.tar.gz vis-43f88d0ae0831fa1e9f930b6f0882e3a2109426e.tar.xz | |
build: clean up make local/standalone implementation
Run configure script for all targets instead of fiddling with
Makefile variables directly.
Diffstat (limited to 'configure')
| -rwxr-xr-x | configure | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -259,7 +259,7 @@ for curses in ncursesw ncurses curses; do fi fi - CFLAGS_CURSES="-I/usr/include/$curses" + CFLAGS_CURSES="" LDFLAGS_CURSES="-l$curses" if $CC $CFLAGS $CFLAGS_CURSES "$tmpc" \ @@ -336,8 +336,8 @@ EOF fi fi - CFLAGS_LUA="-I/usr/include/$liblua" - LDFLAGS_LUA="-l$liblua -lm" + CFLAGS_LUA="" + LDFLAGS_LUA="-l$liblua -lm -ldl" if $CC $CFLAGS $CFLAGS_LUA "$tmpc" \ $LDFLAGS $LDFLAGS_LUA -o "$tmpo" >/dev/null 2>&1 ; then |
