0001-fix-static-build-with-gdbm-gettext.patch 693 B

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