summaryrefslogtreecommitdiff
blob: 19b8984db2d0b4eceb0f5d04aa9b34417a523293 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -r e2da872593c0 configure.in
--- a/configure.in	Tue Mar 24 22:15:53 2015 -0400
+++ b/configure.in	Mon Apr 17 10:13:05 2017 +0200
@@ -4449,7 +4449,7 @@
     AC_CHECK_HEADER(ncurses/curses.h, curses_h_file=ncurses/curses.h)
     AC_CHECK_HEADER(ncurses/term.h, term_h_file=ncurses/term.h)
     XE_ADD_OBJS(terminfo.o)
-    XE_PREPEND(-lncurses, LIBS)
+    XE_PREPEND($(pkg-config ncurses --libs), LIBS)
 
     if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then
       dnl Try again, and check for the bogus ncurses/ include bug.