Add gcc-symlinks, fix the files libpthread.so and libc.so from libc6-dev (that really...
authorDavid Karlstrom <daka@thg.se>
Sun, 24 Jul 2005 22:48:49 +0000 (22:48 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Sun, 24 Jul 2005 22:48:49 +0000 (22:48 +0000)
packages/meta/openslug-native.bb

index 4ac2cfd..da5379d 100644 (file)
@@ -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
+}
+