This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[CT-NG:patch 16/19] Fix PPL 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(+)

Index: crosstool-ng/patches/ppl/0.10.2/100-update-for-mingw-build.patch
===================================================================
--- /dev/null
+++ crosstool-ng/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

-- 


--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]