diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2013-06-28 14:26:40 +0200 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2013-06-28 14:26:40 +0200 |
commit | 1c0833268c7179494aecabc5f0fae643715a7a98 (patch) | |
tree | 1fd854b6082501bfbb0e1c39840484dd6109249d /configure | |
parent | 53d360c9f608103f95b9a2a74f64c9c494ff2333 (diff) |
configure: Add linker flags for ncursestest to correct position
Newer versions of GCC expect the linker flags after the object code, so
move the ouput of 'pkg-config --libs ncurses' there to not make the test
fail even if ncurses is present on the system.
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -113,7 +113,7 @@ void main(void) } EOF - $CC $(pkg-config --cflags --libs ncurses) -o $TMPDIR/ncursestest $TMPDIR/ncursestest.c >> $TMPDIR/config.log 2>&1 + $CC $(pkg-config --cflags ncurses) -o $TMPDIR/ncursestest $TMPDIR/ncursestest.c $(pkg-config --libs ncurses) >> $TMPDIR/config.log 2>&1 if [ ! -x $TMPDIR/ncursestest ] ; then echo "[NO]" MISSING_DEFS=1 |