summaryrefslogtreecommitdiffstats
path: root/package/perl/0001-fix-static-build-with-gdbm-gettext.patch
blob: ca6bf011f0f1c7f9737560f5b678816f44f01b77 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
fix static build with gdbm + gettext

see doc http://perldoc.perl.org/ExtUtils/MakeMaker.html#LIBS

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>

index: b/ext/GDBM_File/Makefile.PL
===================================================================
--- a/ext/GDBM_File/Makefile.PL
+++ b/ext/GDBM_File/Makefile.PL
@@ -2,7 +2,7 @@ use ExtUtils::MakeMaker;
 use ExtUtils::Constant 0.11 'WriteConstants';
 WriteMakefile(
     NAME => 'GDBM_File',
-    LIBS => ["-lgdbm", "-ldbm"],
+    LIBS => ["-lgdbm -lintl", "-lgdbm", "-ldbm"],
     XSPROTOARG => '-noprototypes', 		# XXX remove later?
     VERSION_FROM => 'GDBM_File.pm',
     realclean => {FILES=> 'const-c.inc const-xs.inc'},

OpenPOWER on IntegriCloud