Fix typo in toolchain_gcc.py : LDLAGS -> LDFLAGS wxPython4
authorEdouard Tisserant <edouard.tisserant@gmail.com>
Fri, 03 Mar 2023 09:47:39 +0100
branchwxPython4
changeset 3739 99263915a91d
parent 3738 9ce94d0d3764
child 3741 838242d34741
Fix typo in toolchain_gcc.py : LDLAGS -> LDFLAGS
targets/toolchain_gcc.py
--- a/targets/toolchain_gcc.py	Tue Feb 28 15:08:43 2023 +0100
+++ b/targets/toolchain_gcc.py	Fri Mar 03 09:47:39 2023 +0100
@@ -64,8 +64,8 @@
         """
         ldflags = self.CTRInstance.LDFLAGS + \
             [self.CTRInstance.GetTarget().getcontent().getLDFLAGS()]
-        if os.environ.has_key("LDLAGS"):
-            ldflags.append(os.environ["LDLAGS"])
+        if os.environ.has_key("LDFLAGS"):
+            ldflags.append(os.environ["LDFLAGS"])
         if os.environ.has_key("SYSROOT"):
             ldflags.append("--sysroot="+os.environ["SYSROOT"])
         return ldflags