Simplest change to change from pcre to pcre2#54
Simplest change to change from pcre to pcre2#54paulrho wants to merge 3 commits intogregkh:masterfrom
Conversation
configure.ac
Outdated
| PKG_CHECK_MODULES(LIBOAUTH, oauth) | ||
| PKG_CHECK_MODULES(LIBPCRE, libpcre) | ||
| #PKG_CHECK_MODULES(LIBPCRE2, libpcre2) | ||
| PKG_CHECK_MODULES(PCRE2, [libpcre2-8 libpcre2-32]) |
There was a problem hiding this comment.
Just curious: why -8 and -32?
On my Debian/unstable system I can see:
/usr/lib/x86_64-linux-gnu/pkgconfig/libpcre2-16.pc
/usr/lib/x86_64-linux-gnu/pkgconfig/libpcre2-32.pc
/usr/lib/x86_64-linux-gnu/pkgconfig/libpcre2-8.pc
/usr/lib/x86_64-linux-gnu/pkgconfig/libpcre2-posix.pc
There was a problem hiding this comment.
I've removed the -32
|
Alright, I added this PR as a patch to the Debian package, and unfortunately the build fails at the linker stage: If I manually add Looks like there's some more autoconf/automake magic needed to get the needed flags in the needed places. |
|
Okay, try again (pull request is automatically updated with this correction correction). |
paulrho
left a comment
There was a problem hiding this comment.
Builds and runs without the -32
configure.ac
Outdated
| PKG_CHECK_MODULES(LIBOAUTH, oauth) | ||
| PKG_CHECK_MODULES(LIBPCRE, libpcre) | ||
| #PKG_CHECK_MODULES(LIBPCRE2, libpcre2) | ||
| PKG_CHECK_MODULES(PCRE2, [libpcre2-8 libpcre2-32]) |
There was a problem hiding this comment.
I've removed the -32
|
Thanks! This looks good indeed. |
No description provided.