summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
+}
+