package bbclass: fix static libs logic
authorKoen Kooi <koen@openembedded.org>
Fri, 2 Oct 2009 10:06:16 +0000 (12:06 +0200)
committerKoen Kooi <koen@openembedded.org>
Fri, 2 Oct 2009 10:06:16 +0000 (12:06 +0200)
classes/package.bbclass

index c232e3f..0cba126 100644 (file)
@@ -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