complibs/ppl: fix build for MINGW
authorBart vdr Meulen <bartvdrmeulen@gmail.com>
Sun Jul 11 21:37:43 2010 +0200 (2010-07-11)
changeset 20209f0de857cb05
parent 2019 235d1aa16e00
child 2021 3e52a1510f87
child 2023 4795f92f58a6
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
patches/ppl/0.10.2/100-update-for-mingw-build.patch
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/patches/ppl/0.10.2/100-update-for-mingw-build.patch	Sun Jul 11 21:37:43 2010 +0200
     1.3 @@ -0,0 +1,19 @@
     1.4 +--- ppl-0.10.2/configure	2010-03-19 07:44:26.000000000 +0100
     1.5 ++++ ppl-0.10.2-new/configure	2010-03-19 19:25:02.000000000 +0100
     1.6 +@@ -15603,11 +15603,12 @@
     1.7 +                 found_la="$additional_libdir/lib$name.la"
     1.8 +               fi
     1.9 +             else
    1.10 +-              if test -f "$additional_libdir/lib$name.$libext"; then
    1.11 ++              post=${shlibext:+.${shlibext}}
    1.12 ++              if test -f "$additional_libdir/lib$name$post.$libext"; then
    1.13 +                 found_dir="$additional_libdir"
    1.14 +-                found_a="$additional_libdir/lib$name.$libext"
    1.15 +-                if test -f "$additional_libdir/lib$name.la"; then
    1.16 +-                  found_la="$additional_libdir/lib$name.la"
    1.17 ++                found_a="$additional_libdir/lib$name$post.$libext"
    1.18 ++                if test -f "$additional_libdir/lib$name$post.la"; then
    1.19 ++                  found_la="$additional_libdir/lib$name$post.la"
    1.20 +                 fi
    1.21 +               fi
    1.22 +             fi