commit: 446bd9583794d7ffbfb593cfa9b3788dfb1be514
parent: 473fcda225b904ab89b964f25e391a7b28017539
author: Brian Callahan <bcallah@openbsd.org>
date: Wed, 6 Jan 2021 16:25:13 -0500
Don't put -lcurses in the curses check. Breaks tcc.
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure b/configure
@@ -236,7 +236,7 @@ cursescheck() {
#include <curses.h>
int main(void){setupterm(NULL, 0, NULL);return 0;}
EOF
- $cc $cflags -o conftest.o -c conftest.c -lcurses > /dev/null 2>&1
+ $cc $cflags -o conftest.o -c conftest.c > /dev/null 2>&1
$cc $ldflags -o conftest conftest.o -lcurses > /dev/null 2>&1
if [ $? -eq 0 ] ; then
rm -f conftest conftest.o conftest.c