Fixed location of map file (nw)

This commit is contained in:
Miodrag Milanovic 2015-03-26 15:57:34 +01:00
parent 604d83b1e3
commit 44666525b7

View File

@ -462,11 +462,11 @@ end
if _OPTIONS["MAP"] then if _OPTIONS["MAP"] then
if (_OPTIONS["target"] == _OPTIONS["subtarget"]) then if (_OPTIONS["target"] == _OPTIONS["subtarget"]) then
linkoptions { linkoptions {
"-Wl,-Map," .. _OPTIONS["target"] .. ".map" "-Wl,-Map," .. "../../../" .. _OPTIONS["target"] .. ".map"
} }
else else
linkoptions { linkoptions {
"-Wl,-Map," .. _OPTIONS["target"] .. _OPTIONS["subtarget"] .. ".map" "-Wl,-Map," .. "../../../" .. _OPTIONS["target"] .. _OPTIONS["subtarget"] .. ".map"
} }
end end