summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Karlstrom <daka@thg.se>2005-07-24 22:48:49 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-07-24 22:48:49 +0000
commit3ae73ebdc59593048c16d7f27c87cef308e64159 (patch)
tree9508d63d83874a96aac18667238ba75cbe2dcaab
parent4ee790cc6974bdfe1c9b06c0567b1c56f56d6615 (diff)
Add gcc-symlinks, fix the files libpthread.so and libc.so from libc6-dev (that really should be fixed in there)
-rw-r--r--packages/meta/openslug-native.bb15
1 files changed, 13 insertions, 2 deletions
diff --git a/packages/meta/openslug-native.bb b/packages/meta/openslug-native.bb
index 4ac2cfd4b1..da5379da81 100644
--- a/packages/meta/openslug-native.bb
+++ b/packages/meta/openslug-native.bb
@@ -1,6 +1,6 @@
DESCRIPTION = "Packages that are required for the OpenSlug native build environment"
LICENSE = MIT
-PR = "r2"
+PR = "r3"
INHIBIT_DEFAULT_DEPS = "1"
ALLOW_EMPTY = 1
@@ -13,7 +13,7 @@ OPENSLUG_NATIVE = "\
bison \
bzip2 \
coreutils \
- cpp \
+ cpp cpp-symlinks \
cvs \
flex \
gawk \
@@ -40,3 +40,14 @@ OPENSLUG_NATIVE = "\
"
RDEPENDS = '${OPENSLUG_NATIVE}'
+
+pkg_postinst_${PN} () {
+ # Fix some strange .so-files with strange comments in them. This should
+ # really be done in the packages providing these, but untill that, this
+ # works, and will not break anything when it actually gets fixed
+ tail -n 2 /usr/lib/libc.so > /tmp/tmpfile
+ mv /tmp/tmpfile /usr/lib/libc.so
+ tail -n 2 /usr/lib/libpthread.so > /tmp/tmpfile
+ mv /tmp/tmpfile /usr/lib/libpthread.so
+}
+