What | Removed | Added |
---|---|---|
CC | matz@suse.com |
An even more aggressive solution would be to stop having the pcre2-posix library at all. Sources that consciously want the pcre2 variant of the POSIX regex facility can include pcre2posix.h without other changes in their sources and link against libpcre2 (without -posix). And sources who do not consciously want pcre2 under the POSIX names wouldn't link against libpcre2-posix anyway. So providing libpcre2-posix at all seems to be a mere rope waiting to be hanged by. But if the above is deemed too aggressive, then yeah, at least moving it to a separate package, not pulled in by mere chance, and making sure that no libraries we provide link against it, would be a solution as well. So, thanks for doing that :-) (I came from the gdb side via ncurses to look at this, and my initial reaction was: ncurses linking against pcre2-posix? ugh, disaster in waiting :) )