summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2016-06-30 16:16:16 +0200
committer Miodrag Milanovic <mmicko@gmail.com>2016-06-30 16:16:16 +0200
commitff055cd6c42d36bddd61d6442e1f3a388cee1b23 (patch)
tree1fa274d99614b96547236ee9c96b8f9d694795ff
parent91229d5976dc9e6f65d791a5a67f2c35bdc5fd62 (diff)
Fix symbol stripping (nw)
-rw-r--r--scripts/toolchain.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/toolchain.lua b/scripts/toolchain.lua
index b48c367f1ad..979b22f63b1 100644
--- a/scripts/toolchain.lua
+++ b/scripts/toolchain.lua
@@ -1063,12 +1063,12 @@ function strip()
configuration { "mingw*", "x64", "Release" }
postbuildcommands {
"$(SILENT) echo Stripping symbols.",
- "$(SILENT) " .. (_OPTIONS['TOOLCHAIN'] and toolchainPrefix or "$(MINGW64)/bin/") .. "strip -s \"$(TARGET)\"",
+ "$(SILENT) " .. (_OPTIONS['TOOLCHAIN'] or "$(MINGW64)/bin/") .. "strip -s \"$(TARGET)\"",
}
configuration { "mingw*", "x32", "Release" }
postbuildcommands {
"$(SILENT) echo Stripping symbols.",
- "$(SILENT) " .. (_OPTIONS['TOOLCHAIN'] and toolchainPrefix or "$(MINGW32)/bin/") .. "strip -s \"$(TARGET)\"",
+ "$(SILENT) " .. (_OPTIONS['TOOLCHAIN'] or "$(MINGW32)/bin/") .. "strip -s \"$(TARGET)\"",
}
configuration { "pnacl" }