lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [lmi] master a6df4f8 04/14: Don't use Wine for the native


From: Greg Chicares
Subject: [lmi-commits] [lmi] master a6df4f8 04/14: Don't use Wine for the native Linux build
Date: Sat, 10 Oct 2020 11:07:11 -0400 (EDT)

branch: master
commit a6df4f8afbf61333f87d24a07e1e793480e65cb7
Author: Ilya Sinitsyn <isinitsyn@tt-solutions.com>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>

    Don't use Wine for the native Linux build
---
 set_toolchain.sh | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/set_toolchain.sh b/set_toolchain.sh
index c45c6ad..7478c88 100755
--- a/set_toolchain.sh
+++ b/set_toolchain.sh
@@ -124,10 +124,14 @@ export PERFORM
 #
 case "$lmi_build_type" in
     (*-*-linux*)
-        w0="$(winepath -w "$localbindir" | sed -e's/\\/\\\\/g')"
-        w1="$(winepath -w "$locallibdir" | sed -e's/\\/\\\\/g')"
-        export WINEPATH="$w0;$w1"
-        export  PERFORM="wine"
+        case "$LMI_TRIPLET" in
+            (*-*-mingw32)
+                w0="$(winepath -w "$localbindir" | sed -e's/\\/\\\\/g')"
+                w1="$(winepath -w "$locallibdir" | sed -e's/\\/\\\\/g')"
+                export WINEPATH="$w0;$w1"
+                export  PERFORM="wine"
+                ;;
+        esac
         ;;
     (*) ;;
 esac



reply via email to

[Prev in Thread] Current Thread [Next in Thread]