mirror of
https://github.com/zhigang1992/RubyMotion.git
synced 2026-03-30 17:43:26 +08:00
add a hidden variable to force symbol strip (ex. rake device __strip__=1)
This commit is contained in:
@@ -483,7 +483,7 @@ EOS
|
||||
end
|
||||
|
||||
# Strip all symbols. Only in distribution mode.
|
||||
if main_exec_created and config.distribution_mode
|
||||
if main_exec_created and (config.distribution_mode or ENV['__strip__'])
|
||||
App.info "Strip", main_exec
|
||||
sh "#{config.locate_binary('strip')} #{config.strip_args} \"#{main_exec}\""
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user