Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] perl: fix static build with gdbm + gettext
@ 2017-01-17 15:04 Francois Perrad
  2017-01-18  2:20 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: Francois Perrad @ 2017-01-17 15:04 UTC (permalink / raw)
  To: buildroot

see http://autobuild.buildroot.org/results/d1f/d1f133ca3693b6653eed4fc513effc0bbdcfd9c9/

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
---
 .../0001-fix-static-build-with-gdbm-gettext.patch    | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 package/perl/0001-fix-static-build-with-gdbm-gettext.patch

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 0000000..ca6bf01
--- /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'},
+
-- 
2.9.3

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-01-18  2:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-17 15:04 [Buildroot] [PATCH] perl: fix static build with gdbm + gettext Francois Perrad
2017-01-18  2:20 ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox