diff mbox

perl: fix static build with gdbm + gettext

Message ID 20170117150403.11677-1-francois.perrad@gadz.org
State Accepted
Headers show

Commit Message

Francois Perrad Jan. 17, 2017, 3:04 p.m. UTC
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

Comments

Thomas Petazzoni Jan. 18, 2017, 2:20 a.m. UTC | #1
Hello,

On Tue, 17 Jan 2017 16:04:03 +0100, Francois Perrad wrote:
> 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

Applied to master, thanks.

Thomas
diff mbox

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'},
+