[DEBUG] strip Ok on MacOs (missing -u flag)

This commit is contained in:
Edouard DUPIN 2015-10-21 21:40:59 +02:00
parent 16c019ac5b
commit fc6493f441

View File

@ -127,6 +127,12 @@ def link(file, binary, target, depancy, flags, name, basic_path, static=False):
# get the file size of the non strip file
originSize = tools.file_size(file_dst);
debug.print_element("SharedLib(strip)", name, "", "")
if target.name == "MacOs":
cmdLineStrip=tools.list_to_str([
target.strip,
"-u",
file_dst])
else:
cmdLineStrip=tools.list_to_str([
target.strip,
file_dst])