apache-mod_perl/0020-Link-APR.so-against-libaprutil-1.patch

26 lines
688 B
Diff
Raw Normal View History

From 45cfa54bad40d06d61b4d617ead3e377d9e9bd4a Mon Sep 17 00:00:00 2001
From: Jan Kaluza <hanzz.k@gmail.com>
Date: Wed, 25 Jul 2012 10:04:51 +0200
Subject: [PATCH 20/28] Link APR.so against libaprutil-1
---
xs/APR/APR/Makefile.PL | 2 ++
1 file changed, 2 insertions(+)
diff --git a/xs/APR/APR/Makefile.PL b/xs/APR/APR/Makefile.PL
index 99ac3d4..79a0a0e 100644
--- a/xs/APR/APR/Makefile.PL
+++ b/xs/APR/APR/Makefile.PL
@@ -66,6 +66,8 @@ if (SOLARIS && $libs) {
$libs =~ s{-R\S+}{}g;
}
+# FIXME: This should be done automatically somewhere in Apache2::Build
+$libs .= qq{ -laprutil-1 };
$args{LIBS} = [$libs] if $libs;
my $srcdir = '../../../src/modules/perl';
--
1.7.11.4