[DEBUG] strip Ok on MacOs (missing -u flag)
This commit is contained in:
parent
16c019ac5b
commit
fc6493f441
@ -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
|
# get the file size of the non strip file
|
||||||
originSize = tools.file_size(file_dst);
|
originSize = tools.file_size(file_dst);
|
||||||
debug.print_element("SharedLib(strip)", name, "", "")
|
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([
|
cmdLineStrip=tools.list_to_str([
|
||||||
target.strip,
|
target.strip,
|
||||||
file_dst])
|
file_dst])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user