| Index: build/build_nexe.py
|
| diff --git a/build/build_nexe.py b/build/build_nexe.py
|
| index 7c068f78efa90ab199a93d9ed6ceb36313f9d107..e4e59582eb7a5dcc4882f39bcdfd7a0624784b93 100644
|
| --- a/build/build_nexe.py
|
| +++ b/build/build_nexe.py
|
| @@ -495,7 +495,11 @@ class Builder(object):
|
| if self.strip_all or self.strip_debug:
|
| self.Strip(out)
|
| elif self.outtype in ['nlib', 'plib']:
|
| - self.Archive(srcs)
|
| + out = self.Archive(srcs)
|
| + if self.strip_debug:
|
| + self.Strip(out)
|
| + elif self.strip_all:
|
| + ErrOut('FAILED: --strip-all on libs will result in unusable libs.')
|
| else:
|
| ErrOut('FAILED: Unknown outtype %s:\n' % (self.outtype))
|
|
|
|
|