]> git.openpandora.org Git - openembedded.git/commitdiff
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 c232e3f19df20d3dcf16cb529f3e4d4ae9a81b94..0cba1260d849100a197cb70f48c038d8411f0ef7 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