Skip to contentSkip to conversation

perl: fix static build with gdbm + gettext

PATCH New Francois Perrad 2 participants 2 messages Jan 17, 2017 – Jan 18, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 perl: fix static build with gdbm + gettext

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

---
 .../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
package/perl/0001-fix-static-build-with-gdbm-gettext.patch new file +20 -0
new file mode 100644
index 0000000..ca6bf01
@@ -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 <[email protected]>
+
+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'},
+
Signature · 1 line
2.9.3
#1 lore raw

PATCH 1/1 perl: fix static build with gdbm + gettext

Hello,

Quoted 7 lines · Francois Perrad

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

---
 .../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

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com