summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--libpcre.pc.in1
-rw-r--r--libpcre16.pc.in1
-rw-r--r--libpcre32.pc.in1
4 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index ca9b787..771d7c4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -163,6 +163,9 @@ Version 8.37 14-April-2015
for example, /((?2){73}(?2))((?1))/. A better mutual recursion detection
method has been implemented. This infelicity was discovered by the LLVM
fuzzer.
+
+40. Static linking against the PCRE library using the pkg-config module was
+ failing on missing pthread symbols.
Version 8.36 26-September-2014
diff --git a/libpcre.pc.in b/libpcre.pc.in
index 1f26b32..0a35da8 100644
--- a/libpcre.pc.in
+++ b/libpcre.pc.in
@@ -9,4 +9,5 @@ Name: libpcre
Description: PCRE - Perl compatible regular expressions C library with 8 bit character support
Version: @PACKAGE_VERSION@
Libs: -L${libdir} -lpcre
+Libs.private: @PTHREAD_CFLAGS@ @PTHREAD_LIBS@
Cflags: -I${includedir} @PCRE_STATIC_CFLAG@
diff --git a/libpcre16.pc.in b/libpcre16.pc.in
index f589b75..080c9dc 100644
--- a/libpcre16.pc.in
+++ b/libpcre16.pc.in
@@ -9,4 +9,5 @@ Name: libpcre16
Description: PCRE - Perl compatible regular expressions C library with 16 bit character support
Version: @PACKAGE_VERSION@
Libs: -L${libdir} -lpcre16
+Libs.private: @PTHREAD_CFLAGS@ @PTHREAD_LIBS@
Cflags: -I${includedir} @PCRE_STATIC_CFLAG@
diff --git a/libpcre32.pc.in b/libpcre32.pc.in
index 6582105..a3ae0e1 100644
--- a/libpcre32.pc.in
+++ b/libpcre32.pc.in
@@ -9,4 +9,5 @@ Name: libpcre32
Description: PCRE - Perl compatible regular expressions C library with 32 bit character support
Version: @PACKAGE_VERSION@
Libs: -L${libdir} -lpcre32
+Libs.private: @PTHREAD_CFLAGS@ @PTHREAD_LIBS@
Cflags: -I${includedir} @PCRE_STATIC_CFLAG@