[git commit master 1/1] libc: fix linker script generation for libubacktrace.so
Carmelo Amoroso
carmelo.amoroso at st.com
Tue Jan 25 11:52:31 UTC 2011
commit: http://git.uclibc.org/uClibc/commit/?id=3158d66d7060639225153b4cc9e373046f200ef6
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/master
Fix libc.so linker script generation to add libubacktrace AS_NEEDED entry
using MULTILIB_DIR instead of hard-coded "lib".
Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono at st.com>
Signed-off-by: Carmelo Amoroso <carmelo.amoroso at st.com>
---
Makefile.in | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile.in b/Makefile.in
index ab5ab72..2cd226d 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -333,8 +333,8 @@ else
endif
ifeq ($(UCLIBC_HAS_BACKTRACE),y)
# Add the AS_NEEDED entry for libubacktrace.so
- if [ -f $(top_builddir)lib/libc.so -a -f $(PREFIX)$(RUNTIME_PREFIX)lib/$(SHARED_MAJORNAME) ] ; then \
- echo "GROUP ( $(UBACKTRACE_ASNEEDED) )" >> $(PREFIX)$(DEVEL_PREFIX)lib/libc.so; \
+ if [ -f $(top_builddir)lib/libc.so -a -f $(PREFIX)$(RUNTIME_PREFIX)$(MULTILIB_DIR)/$(SHARED_MAJORNAME) ] ; then \
+ echo "GROUP ( $(UBACKTRACE_ASNEEDED) )" >> $(PREFIX)$(DEVEL_PREFIX)$(MULTILIB_DIR)/libc.so; \
fi
endif
ifeq ($(UCLIBC_HAS_THREADS),y)
--
1.7.3.4
More information about the uClibc-cvs
mailing list