summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069>2015-04-23 17:38:02 +0000
committerph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069>2015-04-23 17:38:02 +0000
commit30dcd293d2aecb06a983f43cb3c67243d9b1598c (patch)
tree8c8c90676716fd9176598498b4fb37792be7105f
parent11d58df77fe42c136bd7583ed5a6bf9b9d984f76 (diff)
downloadpcre2-30dcd293d2aecb06a983f43cb3c67243d9b1598c.tar.gz
Fix static linking using pkg-config issue.
git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@256 6239d852-aaf2-0410-a92c-79f79f948069
-rw-r--r--ChangeLog3
-rw-r--r--libpcre2-16.pc.in1
-rw-r--r--libpcre2-32.pc.in1
-rw-r--r--libpcre2-8.pc.in1
4 files changed, 6 insertions, 0 deletions
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@