board/csky: fixup gdb instructions in readme.txt
[buildroot-gz.git] / package / perl / 0001-fix-static-build-with-gdbm-gettext.patch
blobca6bf011f0f1c7f9737560f5b678816f44f01b77
1 fix static build with gdbm + gettext
3 see doc http://perldoc.perl.org/ExtUtils/MakeMaker.html#LIBS
5 Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
7 index: b/ext/GDBM_File/Makefile.PL
8 ===================================================================
9 --- a/ext/GDBM_File/Makefile.PL
10 +++ b/ext/GDBM_File/Makefile.PL
11 @@ -2,7 +2,7 @@ use ExtUtils::MakeMaker;
12 use ExtUtils::Constant 0.11 'WriteConstants';
13 WriteMakefile(
14 NAME => 'GDBM_File',
15 - LIBS => ["-lgdbm", "-ldbm"],
16 + LIBS => ["-lgdbm -lintl", "-lgdbm", "-ldbm"],
17 XSPROTOARG => '-noprototypes', # XXX remove later?
18 VERSION_FROM => 'GDBM_File.pm',
19 realclean => {FILES=> 'const-c.inc const-xs.inc'},