aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Filippo Arcidiacono <filippo.arcidiacono@st.com>2011-01-25 12:50:23 +0100
committerGravatar Carmelo Amoroso <carmelo.amoroso@st.com>2011-01-25 12:52:31 +0100
commit3158d66d7060639225153b4cc9e373046f200ef6 (patch)
tree530827b026933fd1560c18201ed1978478e2f122
parenta7c33ecabcead542e54c0c3514a92f4155add5b6 (diff)
downloaduClibc-3158d66d7060639225153b4cc9e373046f200ef6.tar.gz
uClibc-3158d66d7060639225153b4cc9e373046f200ef6.tar.bz2
libc: fix linker script generation for libubacktrace.so
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@st.com> Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
-rw-r--r--Makefile.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in
index ab5ab7286..2cd226d96 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)