MSYS2-packages/ncurses/ncurses-6.3-cflags-private.patch
Christoph Reiter aa3b174e75 ncurses: add add NCURSES_STATIC to Cflags.private in the .pc files
So that pkgconf users will automatically get it if they pass --static
2022-04-29 21:12:32 +02:00

11 lines
294 B
Diff

--- 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