diff options
author | Koen Kooi <koen@openembedded.org> | 2009-10-02 12:06:16 +0200 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2009-10-02 12:06:16 +0200 |
commit | 8fec15f70dcd0a8543b0af3ec256bf9cd108281e (patch) | |
tree | 6078b326abe2d0bd7a3a02577b7abbcbe870200c /classes | |
parent | 4a520da6d6f8501ba5fa008d9e8461b20db3220c (diff) |
package bbclass: fix static libs logic
Diffstat (limited to 'classes')
-rw-r--r-- | classes/package.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/package.bbclass b/classes/package.bbclass index c232e3f19d..0cba1260d8 100644 --- a/classes/package.bbclass +++ b/classes/package.bbclass @@ -159,7 +159,7 @@ def runstrip(file, d): if ret: bb.error("runstrip: 'file %s' failed (forced strip)" % file) - if "not stripped" not in result and ".a" not in file: + if "not stripped" not in result and not file.endswith(".a"): bb.debug(1, "runstrip: skip %s" % file) return 0 |