mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-28 13:46:32 +00:00
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>
This commit is contained in:
parent
570c8d2ae6
commit
6c9fe3c1c8
20
package/perl/0001-fix-static-build-with-gdbm-gettext.patch
Normal file
20
package/perl/0001-fix-static-build-with-gdbm-gettext.patch
Normal file
@ -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'},
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user