Revision: 256
http://www.exim.org/viewvc/pcre2?view=rev&revision=256
Author: ph10
Date: 2015-04-23 18:38:02 +0100 (Thu, 23 Apr 2015)
Log Message:
-----------
Fix static linking using pkg-config issue.
Modified Paths:
--------------
code/trunk/ChangeLog
code/trunk/libpcre2-16.pc.in
code/trunk/libpcre2-32.pc.in
code/trunk/libpcre2-8.pc.in
Modified: code/trunk/ChangeLog
===================================================================
--- code/trunk/ChangeLog 2015-04-23 17:28:39 UTC (rev 255)
+++ code/trunk/ChangeLog 2015-04-23 17:38:02 UTC (rev 256)
@@ -97,7 +97,10 @@
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
---------------------------
Modified: code/trunk/libpcre2-16.pc.in
===================================================================
--- code/trunk/libpcre2-16.pc.in 2015-04-23 17:28:39 UTC (rev 255)
+++ code/trunk/libpcre2-16.pc.in 2015-04-23 17:38:02 UTC (rev 256)
@@ -9,4 +9,5 @@
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@
Modified: code/trunk/libpcre2-32.pc.in
===================================================================
--- code/trunk/libpcre2-32.pc.in 2015-04-23 17:28:39 UTC (rev 255)
+++ code/trunk/libpcre2-32.pc.in 2015-04-23 17:38:02 UTC (rev 256)
@@ -9,4 +9,5 @@
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@
Modified: code/trunk/libpcre2-8.pc.in
===================================================================
--- code/trunk/libpcre2-8.pc.in 2015-04-23 17:28:39 UTC (rev 255)
+++ code/trunk/libpcre2-8.pc.in 2015-04-23 17:38:02 UTC (rev 256)
@@ -9,4 +9,5 @@
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@