From 13417320e443221efb56ae486df8a31df4bb2bdb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eray=20=C3=96zkural?= Date: Mon, 19 Dec 2005 03:00:34 +0000 Subject: [PATCH] * workaround for .a issue --- pisi/build.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pisi/build.py b/pisi/build.py index 31e5be2c..17223d2e 100644 --- a/pisi/build.py +++ b/pisi/build.py @@ -553,6 +553,7 @@ class Builder: fold = old_pkg.files.list fold.sort(lambda x,y : cmp(x.path,y.path)) fnew.sort(lambda x,y : cmp(x.path,y.path)) + if len(fnew) != len(fold): changed = True else: @@ -563,6 +564,9 @@ class Builder: changed = True break else: + #FIXME: workaround for .a issue, skip .a files + if fn.path.endswith('.a') and fn.type=='library': + continue if fo.hash != fn.hash: changed = True break