diff options
author | Francois Perrad <fperrad@gmail.com> | 2017-01-17 16:04:03 +0100 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2017-01-18 13:19:41 +1100 |
commit | 6c9fe3c1c87a19ece72658fed21b41f30fd5f98d (patch) | |
tree | 923752364bbc44f9c775898d0949823e0cfa1d69 | |
parent | 570c8d2ae6a10e10b45adc75145726994219f946 (diff) | |
download | buildroot-6c9fe3c1c87a19ece72658fed21b41f30fd5f98d.tar.gz buildroot-6c9fe3c1c87a19ece72658fed21b41f30fd5f98d.zip |
perl: fix static build with gdbm + gettext
see http://autobuild.buildroot.org/results/d1f/d1f133ca3693b6653eed4fc513effc0bbdcfd9c9/
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r-- | package/perl/0001-fix-static-build-with-gdbm-gettext.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/package/perl/0001-fix-static-build-with-gdbm-gettext.patch b/package/perl/0001-fix-static-build-with-gdbm-gettext.patch new file mode 100644 index 0000000000..ca6bf011f0 --- /dev/null +++ b/package/perl/0001-fix-static-build-with-gdbm-gettext.patch @@ -0,0 +1,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'}, + |