diff --git a/ChangeLog b/ChangeLog index 5125c90..52645fc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -97,6 +97,9 @@ fuzzer: see http://lcamtuf.coredump.cx/afl/. 24. Adjust the treatment of \8 and \9 to be the same as the current Perl behaviour. +25. Static linking against the PCRE2 library using the pkg-config module was +failing on missing pthread symbols. + Version 10.10 06-March-2015 --------------------------- diff --git a/libpcre2-16.pc.in b/libpcre2-16.pc.in index f967459..978040d 100644 --- a/libpcre2-16.pc.in +++ b/libpcre2-16.pc.in @@ -9,4 +9,5 @@ Name: libpcre2-16 Description: PCRE2 - Perl compatible regular expressions C library (2nd API) with 16 bit character support Version: @PACKAGE_VERSION@ Libs: -L${libdir} -lpcre2-16 +Libs.private: @PTHREAD_CFLAGS@ @PTHREAD_LIBS@ Cflags: -I${includedir} @PCRE2_STATIC_CFLAG@ diff --git a/libpcre2-32.pc.in b/libpcre2-32.pc.in index ba90d18..d8fb187 100644 --- a/libpcre2-32.pc.in +++ b/libpcre2-32.pc.in @@ -9,4 +9,5 @@ Name: libpcre2-32 Description: PCRE2 - Perl compatible regular expressions C library (2nd API) with 32 bit character support Version: @PACKAGE_VERSION@ Libs: -L${libdir} -lpcre2-32 +Libs.private: @PTHREAD_CFLAGS@ @PTHREAD_LIBS@ Cflags: -I${includedir} @PCRE2_STATIC_CFLAG@ diff --git a/libpcre2-8.pc.in b/libpcre2-8.pc.in index 2367d96..5c872d0 100644 --- a/libpcre2-8.pc.in +++ b/libpcre2-8.pc.in @@ -9,4 +9,5 @@ Name: libpcre2-8 Description: PCRE2 - Perl compatible regular expressions C library (2nd API) with 8 bit character support Version: @PACKAGE_VERSION@ Libs: -L${libdir} -lpcre2-8 +Libs.private: @PTHREAD_CFLAGS@ @PTHREAD_LIBS@ Cflags: -I${includedir} @PCRE2_STATIC_CFLAG@