]> git.pld-linux.org Git - packages/irssi.git/blobdiff - irssi-libs-nopoison.patch
- don't let as needed ldopts came from perl
[packages/irssi.git] / irssi-libs-nopoison.patch
diff --git a/irssi-libs-nopoison.patch b/irssi-libs-nopoison.patch
new file mode 100644 (file)
index 0000000..5b636c6
--- /dev/null
@@ -0,0 +1,11 @@
+--- irssi-0.8.12/configure.in~ 2008-11-16 19:24:07.000000000 +0200
++++ irssi-0.8.12/configure.in  2008-11-16 19:26:14.401917429 +0200
+@@ -511,7 +511,7 @@
+               AC_MSG_RESULT([not found, building without Perl])
+               want_perl=no
+       else
+-              PERL_LDFLAGS=`$perlpath -MExtUtils::Embed -e ldopts 2>/dev/null`
++              PERL_LDFLAGS=`$perlpath -MExtUtils::Embed -e ldopts 2>/dev/null | sed -e 's/-Wl,--as-needed//'`
+               dnl * Perl 5.004 and older use perl_xxx variables while
+               dnl * later use PL_perl_xxx variables ..
This page took 0.032372 seconds and 4 git commands to generate.