From ff055cd6c42d36bddd61d6442e1f3a388cee1b23 Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Thu, 30 Jun 2016 16:16:16 +0200 Subject: [PATCH] Fix symbol stripping (nw) --- scripts/toolchain.lua | 4 ++-- 1 file 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" }