aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/perl
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/perl')
-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 0000000000..a8a25956e2
--- /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 57e9e1c394..d5ad014387 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}"