From 43f88d0ae0831fa1e9f930b6f0882e3a2109426e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Fri, 22 Apr 2016 18:32:45 +0200 Subject: build: clean up make local/standalone implementation Run configure script for all targets instead of fiddling with Makefile variables directly. --- configure | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'configure') diff --git a/configure b/configure index 5e7cb0e..31a038f 100755 --- a/configure +++ b/configure @@ -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 -- cgit v1.2.3