From 8eb3b676c2d4df269d1f3f7783fc1366230c2672 Mon Sep 17 00:00:00 2001 From: Bart vdr Meulen Date: Sun, 11 Jul 2010 21:37:43 +0200 Subject: complibs/ppl: fix build for MINGW Signed-off-by: Bart vdr. Meulen --- patches/ppl/0.10.2/100-update-for-mingw-build.patch | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 patches/ppl/0.10.2/100-update-for-mingw-build.patch diff --git a/patches/ppl/0.10.2/100-update-for-mingw-build.patch b/patches/ppl/0.10.2/100-update-for-mingw-build.patch new file mode 100644 index 0000000..5795257 --- /dev/null +++ b/patches/ppl/0.10.2/100-update-for-mingw-build.patch @@ -0,0 +1,19 @@ +--- ppl-0.10.2/configure 2010-03-19 07:44:26.000000000 +0100 ++++ ppl-0.10.2-new/configure 2010-03-19 19:25:02.000000000 +0100 +@@ -15603,11 +15603,12 @@ + found_la="$additional_libdir/lib$name.la" + fi + else +- if test -f "$additional_libdir/lib$name.$libext"; then ++ post=${shlibext:+.${shlibext}} ++ if test -f "$additional_libdir/lib$name$post.$libext"; then + found_dir="$additional_libdir" +- found_a="$additional_libdir/lib$name.$libext" +- if test -f "$additional_libdir/lib$name.la"; then +- found_la="$additional_libdir/lib$name.la" ++ found_a="$additional_libdir/lib$name$post.$libext" ++ if test -f "$additional_libdir/lib$name$post.la"; then ++ found_la="$additional_libdir/lib$name$post.la" + fi + fi + fi -- cgit v0.10.2-6-g49f6