diff options
Diffstat (limited to 'patches/perl-5.18.2')
-rw-r--r-- | patches/perl-5.18.2/0001-It-s-lpthread-not-lpthreads.patch | 23 | ||||
-rw-r--r-- | patches/perl-5.18.2/series | 4 |
2 files changed, 27 insertions, 0 deletions
diff --git a/patches/perl-5.18.2/0001-It-s-lpthread-not-lpthreads.patch b/patches/perl-5.18.2/0001-It-s-lpthread-not-lpthreads.patch new file mode 100644 index 000000000..319cefb2e --- /dev/null +++ b/patches/perl-5.18.2/0001-It-s-lpthread-not-lpthreads.patch @@ -0,0 +1,23 @@ +From: Michael Olbrich <m.olbrich@pengutronix.de> +Date: Wed, 23 Apr 2014 09:02:25 +0200 +Subject: [PATCH] It's -lpthread not -lpthreads + +Otherwise linking fails with missing pthread symbols when building with +with -Dusethreads +--- + cnf/configure_libs.sh | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/cnf/configure_libs.sh b/cnf/configure_libs.sh +index f45d31c..cca73e5 100644 +--- a/cnf/configure_libs.sh ++++ b/cnf/configure_libs.sh +@@ -53,7 +53,7 @@ if not hinted 'perllibs'; then + appendvar '_libs' "$i" ;; + -ldl) + test "$usedl" != 'undef' && appendvar '_libs' "$i" ;; +- -lpthreads) ++ -lpthread) + test "$usethreads" != 'undef' && appendvar '_libs' "$i" ;; + # For a static build, -lgdbm and friends are assumed to be in ext.libs + esac diff --git a/patches/perl-5.18.2/series b/patches/perl-5.18.2/series new file mode 100644 index 000000000..dbf4b587d --- /dev/null +++ b/patches/perl-5.18.2/series @@ -0,0 +1,4 @@ +# generated by git-ptx-patches +#tag:base --start-number 1 +0001-It-s-lpthread-not-lpthreads.patch +# 82701174c686d625c466a538b4d64ece - git-ptx-patches magic |