From: David Karlstrom Date: Sun, 24 Jul 2005 22:48:49 +0000 (+0000) Subject: Add gcc-symlinks, fix the files libpthread.so and libc.so from libc6-dev (that really... X-Git-Tag: Release-2010-05/1~9453^2~4055^2~3^2 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3ae73ebdc59593048c16d7f27c87cef308e64159;p=openembedded.git Add gcc-symlinks, fix the files libpthread.so and libc.so from libc6-dev (that really should be fixed in there) --- 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 +} +