diff options
author | Filippo Arcidiacono <filippo.arcidiacono@st.com> | 2011-01-25 12:50:23 +0100 |
---|---|---|
committer | Carmelo Amoroso <carmelo.amoroso@st.com> | 2011-01-25 12:52:31 +0100 |
commit | 3158d66d7060639225153b4cc9e373046f200ef6 (patch) | |
tree | 530827b026933fd1560c18201ed1978478e2f122 /Makefile.in | |
parent | a7c33ecabcead542e54c0c3514a92f4155add5b6 (diff) |
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>
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 4 |
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) |