aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Dietze <mdietze@gmail.com>2013-02-21 22:23:29 +0100
committerMartin Dietze <mdietze@gmail.com>2013-03-02 17:27:29 +0100
commit5d8a2aa63d11846306fcde6a20aaf12ebee9b4c4 (patch)
treed110526567b2a349f01ac8a4c53042eaa33c097e
parent740a9f7634bbb14a593056d4bd063833035c30fa (diff)
downloadopenembedded-5d8a2aa63d11846306fcde6a20aaf12ebee9b4c4.zip
openembedded-5d8a2aa63d11846306fcde6a20aaf12ebee9b4c4.tar.gz
openembedded-5d8a2aa63d11846306fcde6a20aaf12ebee9b4c4.tar.bz2
Fixed build of perl-native (link libraries)
-rw-r--r--recipes/perl/perl-5.8.8/Makefile.SH-native.patch13
-rw-r--r--recipes/perl/perl-native_5.8.8.bb3
2 files changed, 15 insertions, 1 deletions
diff --git a/recipes/perl/perl-5.8.8/Makefile.SH-native.patch b/recipes/perl/perl-5.8.8/Makefile.SH-native.patch
new file mode 100644
index 0000000..a8a2595
--- /dev/null
+++ b/recipes/perl/perl-5.8.8/Makefile.SH-native.patch
@@ -0,0 +1,13 @@
+--- perl-5.8.8/Makefile.SH-orig 2013-02-21 22:11:14.000000000 +0100
++++ perl-5.8.8/Makefile.SH 2013-02-21 22:11:56.000000000 +0100
+@@ -196,8 +196,8 @@
+ CC = $cc
+ LD = $ld
+
+-LDFLAGS = $ldflags
+-CLDFLAGS = $ldflags
++LDFLAGS = $ldflags -lpthread -lm
++CLDFLAGS = $ldflags -lpthread -lm
+
+ mallocsrc = $mallocsrc
+ mallocobj = $mallocobj
diff --git a/recipes/perl/perl-native_5.8.8.bb b/recipes/perl/perl-native_5.8.8.bb
index 57e9e1c..d5ad014 100644
--- a/recipes/perl/perl-native_5.8.8.bb
+++ b/recipes/perl/perl-native_5.8.8.bb
@@ -15,7 +15,8 @@ SRC_URI = "http://ftp.funet.fi/pub/CPAN/src/perl-${PV}.tar.gz \
file://native-no-gdbminc.patch;patch=1 \
file://native-perlinc.patch;patch=1 \
file://makedepend-dash.patch;patch=1 \
- file://asm-pageh-fix.patch;patch=1"
+ file://asm-pageh-fix.patch;patch=1 \
+ file://Makefile.SH-native.patch;patch=1"
S = "${WORKDIR}/perl-${PV}"