355c9b
diff -ru ncdu-1.18.orig/configure ncdu-1.18/configure
355c9b
--- ncdu-1.18.orig/configure	2022-12-06 10:47:01.000000000 +0100
355c9b
+++ ncdu-1.18/configure	2022-12-23 16:05:20.100553280 +0100
355c9b
@@ -6464,7 +6464,7 @@
355c9b
   ac_status=$?
355c9b
   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
355c9b
   test $ac_status = 0; }; then
355c9b
-  pkg_cv_NCURSES_LIBS=`$PKG_CONFIG --libs "ncursesw" 2>/dev/null`
355c9b
+  pkg_cv_NCURSES_LIBS=`$PKG_CONFIG --libs-only-l "ncursesw" 2>/dev/null`
355c9b
 		      test "x$?" != "x0" && pkg_failed=yes
355c9b
 else
355c9b
   pkg_failed=yes