patches/ppl/0.10.2/100-update-for-mingw-build.patch
author Bart vdr Meulen <bartvdrmeulen@gmail.com>
Sun Jul 11 21:37:43 2010 +0200 (2010-07-11)
changeset 2020 9f0de857cb05
permissions -rw-r--r--
complibs/ppl: fix build for MINGW

Signed-off-by: Bart vdr. Meulen <bartvdrmeulen@gmail.com>
---
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
     1 --- ppl-0.10.2/configure	2010-03-19 07:44:26.000000000 +0100
     2 +++ ppl-0.10.2-new/configure	2010-03-19 19:25:02.000000000 +0100
     3 @@ -15603,11 +15603,12 @@
     4                  found_la="$additional_libdir/lib$name.la"
     5                fi
     6              else
     7 -              if test -f "$additional_libdir/lib$name.$libext"; then
     8 +              post=${shlibext:+.${shlibext}}
     9 +              if test -f "$additional_libdir/lib$name$post.$libext"; then
    10                  found_dir="$additional_libdir"
    11 -                found_a="$additional_libdir/lib$name.$libext"
    12 -                if test -f "$additional_libdir/lib$name.la"; then
    13 -                  found_la="$additional_libdir/lib$name.la"
    14 +                found_a="$additional_libdir/lib$name$post.$libext"
    15 +                if test -f "$additional_libdir/lib$name$post.la"; then
    16 +                  found_la="$additional_libdir/lib$name$post.la"
    17                  fi
    18                fi
    19              fi