[perl-Gtk2-MozEmbed] Make the xulrunner detection even more general
- From: Torsten Schönfeld <tsch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [perl-Gtk2-MozEmbed] Make the xulrunner detection even more general
- Date: Sat, 14 May 2011 11:50:39 +0000 (UTC)
commit b6b18cce7f97014429f26333755fe3fecfa4cf71
Author: Remi Collet <remi famillecollet com>
Date: Sat May 14 13:37:29 2011 +0200
Make the xulrunner detection even more general
https://rt.cpan.org/Ticket/Display.html?id=43306
Makefile.PL | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/Makefile.PL b/Makefile.PL
index 6da07cd..c6ec40f 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -85,9 +85,9 @@ ExtUtils::PkgConfig->write_version_macros (
my $inc = $pkgcfg{cflags};
my $libs = $pkgcfg{libs};
-if ($libs =~ m#xulrunner-devel-([^/]+)#) {
+if ($libs =~ m#(lib|lib64)/xulrunner-(devel|sdk)-([^/]+)#) {
$inc .= qq( -DGTK_MOZ_EMBED_PERL_XULRUNNER_PATH=)
- . qq("\\"/usr/lib/xulrunner-$1\\"" );
+ . qq("\\"/usr/$1/xulrunner-$3\\"" );
}
my $mozembed = ExtUtils::Depends->new('Gtk2::MozEmbed', 'Gtk2',
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]