diff options
Diffstat (limited to 'recipes/emacs/emacs.inc')
-rw-r--r-- | recipes/emacs/emacs.inc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/recipes/emacs/emacs.inc b/recipes/emacs/emacs.inc index d643d31624..6645f410e6 100644 --- a/recipes/emacs/emacs.inc +++ b/recipes/emacs/emacs.inc @@ -50,6 +50,11 @@ do_compile_prepend() { if [ -f ${CROSS_DIR}/${TARGET_SYS}/lib/libgcc_s.so.* ]; then cp -pPR ${CROSS_DIR}/${TARGET_SYS}/lib/libgcc_s.so.* $treedir/lib fi + # stupid hack, but without it, it tries to use /usr/lib/libc.so from host and fails + # temacs: error while loading shared libraries: /usr/lib/libc.so: ELF file version does not match current one + if [ ! -f $treedir/lib/libc.so ]; then + ln -s libc.so.6 $treedir/lib/libc.so + fi } EXTRA_OEMAKE += 'QEMU="${QEMU}"' |