summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2015-04-23 17:34:33 +0000
committerph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2015-04-23 17:34:33 +0000
commit2765d0933715e6b2c78a4e74fa8d5cad27273f29 (patch)
tree2442b0254c0444fe2a6d15a023432acb0f8db6b7
parent4ef0a06d7be50e00918c63c90ad934ba29970c42 (diff)
downloadpcre-2765d0933715e6b2c78a4e74fa8d5cad27273f29.tar.gz
Fix static linking issue with pkg-config.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1552 2f5784b3-3f2a-0410-8824-cb99058d5e15
-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@