[Lunar-commits] <moonbase> elfutils: Fix gcc unable to create executables

Zbigniew Luszpinski zbiggy at lunar-linux.org
Fri Dec 31 02:42:39 CET 2010


commit 3869f598763a1f6a4f5786462d390f5486d1da0d
Author: Zbigniew Luszpinski <zbiggy at lunar-linux.org>
Date:   Fri Dec 31 02:42:39 2010 +0100

    elfutils: Fix gcc unable to create executables
---
 devel/elfutils/BUILD |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/devel/elfutils/BUILD b/devel/elfutils/BUILD
index ad43728..07bd492 100644
--- a/devel/elfutils/BUILD
+++ b/devel/elfutils/BUILD
@@ -5,6 +5,9 @@
   CFLAGS="-fgnu89-inline"
 
   find . -type f -name 'Makefile.*' -exec sed -i 's/-Werror//g' {} \; &&
-  default_build
+  default_build &&
+
+  # Fix gcc unable to create executables
+  ln -sf /usr/lib/libelf.so /usr/lib/libelf.so.0
 
 ) > $C_FIFO 2>&1


More information about the Lunar-commits mailing list