summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
Diffstat (limited to 'classes')
-rw-r--r--classes/gnome.bbclass1
-rw-r--r--classes/package.bbclass4
2 files changed, 3 insertions, 2 deletions
diff --git a/classes/gnome.bbclass b/classes/gnome.bbclass
index 3d04298ac6..2045697516 100644
--- a/classes/gnome.bbclass
+++ b/classes/gnome.bbclass
@@ -11,6 +11,7 @@ DEPENDS += "gnome-common"
FILES_${PN} += "${datadir}/application-registry \
${datadir}/mime-info \
${datadir}/mime/packages \
+ ${datadir}/mime/application \
${datadir}/gnome-2.0"
inherit autotools gtk-icon-cache pkgconfig gconf mime
diff --git a/classes/package.bbclass b/classes/package.bbclass
index 5a9fa503ae..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:
+ if "not stripped" not in result and not file.endswith(".a"):
bb.debug(1, "runstrip: skip %s" % file)
return 0
@@ -393,7 +393,7 @@ python populate_packages () {
for root, dirs, files in os.walk(dvar):
for f in files:
file = os.path.join(root, f)
- if not os.path.islink(file) and not os.path.isdir(file) and isexec(file):
+ if not os.path.islink(file) and not os.path.isdir(file) and (isexec(file) or ".a" in file):
runstrip(file, d)
pkgdest = bb.data.getVar('PKGDEST', d, 1)