# HG changeset patch # User Bart vdr Meulen # Date 1278877063 -7200 # Node ID 9f0de857cb05438fa55cf6e8fc910ee3e553d318 # Parent 235d1aa16e002b3d9bd24bb48e78966fdd8a9856 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 -r 235d1aa16e00 -r 9f0de857cb05 patches/ppl/0.10.2/100-update-for-mingw-build.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/ppl/0.10.2/100-update-for-mingw-build.patch Sun Jul 11 21:37:43 2010 +0200 @@ -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