summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBart vdr Meulen <bartvdrmeulen@gmail.com>2010-07-11 19:37:43 (GMT)
committerBart vdr Meulen <bartvdrmeulen@gmail.com>2010-07-11 19:37:43 (GMT)
commit8eb3b676c2d4df269d1f3f7783fc1366230c2672 (patch)
treee27d04bd9010f1ef98216a37f9516a145c7d72ab
parentb240cfcc3af779810ad258dde04fea88a291a061 (diff)
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
-rw-r--r--patches/ppl/0.10.2/100-update-for-mingw-build.patch19
1 files changed, 19 insertions, 0 deletions
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