--- ncurses-6.3/misc/gen-pkgconfig.in.orig	2022-04-29 20:19:42.668758200 +0200
+++ ncurses-6.3/misc/gen-pkgconfig.in	2022-04-29 20:27:10.636256800 +0200
@@ -238,6 +238,7 @@
 Libs: $lib_flags $LIBS
 Libs.private: @LIBS@ $main_libs
 Cflags: $CFLAGS
+Cflags.private: -DNCURSES_STATIC
 EOF
 
 done
