Revision: 5643 Author: pebender Date: Sat Oct 10 05:18:47 2009 Log: - Modified build system to add a symbolic link to the library loader from the architecture specific lib directory (i.e. /lib32 or /lib64).
http://code.google.com/p/minimyth/source/detail?r=5643 Modified: /trunk/gar-minimyth/script/meta/minimyth/files/source/Makefile ======================================= --- /trunk/gar-minimyth/script/meta/minimyth/files/source/Makefile Mon Sep 14 16:36:50 2009 +++ /trunk/gar-minimyth/script/meta/minimyth/files/source/Makefile Sat Oct 10 05:18:47 2009 @@ -411,6 +411,21 @@ cp -f $(DESTDIR)$${revert} $...@~$${revert} ; \ done ; \ fi + @# Create library loader symbolic link to help out binary applications. + @if [ -e $...@~$(elibdir)/ld-linux.so.2 ] ; then \ + if [ ! $(elibdir) = '/lib32' ] ; then \ + mkdir -p $...@~/lib32 ; \ + rm -f $...@~/lib32/ld-linux.so.2 ; \ + ln -s $(elibdir)/ld-linux.so.2 $...@~/lib32/ld-linux.so.2 ; \ + fi ; \ + fi + @if [ -e $...@~$(elibdir)/ld-linux-x86-64.so.2 ] ; then \ + if [ ! $(elibdir) = '/lib64' ] ; then \ + mkdir -p $...@~/lib64 ; \ + rm -f $...@~/lib64/ld-linux-x86_64.so.2 ; \ + ln -s $(elibdir)/ld-linux-x86-64.so.2 $...@~/lib64/ld-linux-x86-64.so.2 ; \ + fi ; \ + fi @# Clean up permissions (at least somewhat) @find $...@~ -depth -exec file '{}' \; \ | grep -i 'ELF ..-bit LSB executable' \ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "minimyth-commits" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/minimyth-commits?hl=en -~----------~----~----~----~------~----~------~--~---
