Blame SOURCES/patch-cyrus-perl-linking

d76fc1
diff --git a/perl/sieve/managesieve/Makefile.PL.in b/perl/sieve/managesieve/Makefile.PL.in
d76fc1
index 7180b98..d589ebe 100644
d76fc1
--- a/perl/sieve/managesieve/Makefile.PL.in
d76fc1
+++ b/perl/sieve/managesieve/Makefile.PL.in
d76fc1
@@ -69,7 +69,7 @@ WriteMakefile(
d76fc1
     'ABSTRACT'  => 'Cyrus Sieve management interface',
d76fc1
     'VERSION_FROM' => "@top_srcdir@/perl/sieve/managesieve/managesieve.pm", # finds $VERSION
d76fc1
     'MYEXTLIB'  => '../lib/.libs/libisieve.a @top_builddir@/perl/.libs/libcyrus.a @top_builddir@/perl/.libs/libcyrus_min.a',
d76fc1
-    'LIBS'	=> ["$LIB_SASL @SSL_LIBS@ @LIB_UUID@ @LIB_REGEX@ @ZLIB@ @SQLITE_LIBADD@ @MYSQL_LIBADD@ @PGSQL_LIBADD@"],
d76fc1
+    'LIBS'	=> ["$LIB_SASL @SSL_LIBS@ @LIB_UUID@ @LIB_REGEX@ @ZLIB@ @SQLITE_LIBADD@ @MYSQL_LIBADD@ @PGSQL_LIBADD@ -lpcreposix"],
d76fc1
     'CCFLAGS'	=> '@GCOV_CFLAGS@',
d76fc1
     'DEFINE'	=> '-DPERL_POLLUTE',     # e.g., '-DHAVE_SOMETHING' 
d76fc1
     'INC'	=> "-I@top_srcdir@/lib -I@top_srcdir@/perl/sieve -I@top_srcdir@/perl/sieve/lib @SASLFLAGS@ @SSL_CPPFLAGS@",
d76fc1
diff --git a/perl/imap/Makefile.PL.in b/perl/imap/Makefile.PL.in
d76fc1
index 71416cc..f76cda6 100644
d76fc1
--- a/perl/imap/Makefile.PL.in
d76fc1
+++ b/perl/imap/Makefile.PL.in
d76fc1
@@ -91,7 +91,7 @@ WriteMakefile(
d76fc1
     'LD'       => $Config{ld} . ' @GCOV_LDFLAGS@',
d76fc1
     'OBJECT'    => 'IMAP.o',
d76fc1
     'MYEXTLIB'  => '@top_builddir@/perl/.libs/libcyrus.a @top_builddir@/perl/.libs/libcyrus_min.a',
d76fc1
-    'LIBS'	=> [ "$LIB_SASL @SSL_LIBS@ @LIB_UUID@ @ZLIB@ @GCOV_LIBS@ @LIBCAP_LIBS@"],
d76fc1
+    'LIBS'	=> [ "$LIB_SASL @SSL_LIBS@ @LIB_UUID@ @ZLIB@ @GCOV_LIBS@ @LIBCAP_LIBS@ -lpcreposix"],
d76fc1
     'DEFINE'	=> '-DPERL_POLLUTE',    # e.g., '-DHAVE_SOMETHING'
d76fc1
     'INC'	=> "-I@top_srcdir@ -I@top_srcdir@/com_err/et @SASLFLAGS@ @SSL_CPPFLAGS@ @GCOV_CFLAGS@ -I@top_srcdir@/perl/imap",
d76fc1
     'EXE_FILES' => [cyradm],