[Pcre-svn] [1552] code/trunk: Fix static linking issue with …

Inizio della pagina
Delete this message
Autore: Subversion repository
Data:  
To: pcre-svn
Oggetto: [Pcre-svn] [1552] code/trunk: Fix static linking issue with pkg-config.
Revision: 1552
          http://vcs.pcre.org/viewvc?view=rev&revision=1552
Author:   ph10
Date:     2015-04-23 18:34:33 +0100 (Thu, 23 Apr 2015)


Log Message:
-----------
Fix static linking issue with pkg-config.

Modified Paths:
--------------
    code/trunk/ChangeLog
    code/trunk/libpcre.pc.in
    code/trunk/libpcre16.pc.in
    code/trunk/libpcre32.pc.in


Modified: code/trunk/ChangeLog
===================================================================
--- code/trunk/ChangeLog    2015-04-23 13:51:51 UTC (rev 1551)
+++ code/trunk/ChangeLog    2015-04-23 17:34:33 UTC (rev 1552)
@@ -163,6 +163,9 @@
     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

Modified: code/trunk/libpcre.pc.in
===================================================================
--- code/trunk/libpcre.pc.in    2015-04-23 13:51:51 UTC (rev 1551)
+++ code/trunk/libpcre.pc.in    2015-04-23 17:34:33 UTC (rev 1552)
@@ -9,4 +9,5 @@
 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@


Modified: code/trunk/libpcre16.pc.in
===================================================================
--- code/trunk/libpcre16.pc.in    2015-04-23 13:51:51 UTC (rev 1551)
+++ code/trunk/libpcre16.pc.in    2015-04-23 17:34:33 UTC (rev 1552)
@@ -9,4 +9,5 @@
 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@


Modified: code/trunk/libpcre32.pc.in
===================================================================
--- code/trunk/libpcre32.pc.in    2015-04-23 13:51:51 UTC (rev 1551)
+++ code/trunk/libpcre32.pc.in    2015-04-23 17:34:33 UTC (rev 1552)
@@ -9,4 +9,5 @@
 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@