diff options
author | William Pitcock <nenolod@dereferenced.org> | 2011-06-05 23:27:13 -0500 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2011-06-05 23:27:13 -0500 |
commit | 85077a06712b42ab4cbeb0575bdec23fce5f37bb (patch) | |
tree | 1c8e97a555be337066fc1578407663902d1d9744 /main/libc0.9.32/uclibc-ubacktrace-asneeded-fix.patch | |
parent | 20ca018cff2138baba27b01907b738e216ff9c55 (diff) | |
download | aports-85077a06712b42ab4cbeb0575bdec23fce5f37bb.tar.bz2 aports-85077a06712b42ab4cbeb0575bdec23fce5f37bb.tar.xz |
main/libc0.9.32: bring libubacktrace in as needed when linking to libc.so
Diffstat (limited to 'main/libc0.9.32/uclibc-ubacktrace-asneeded-fix.patch')
-rw-r--r-- | main/libc0.9.32/uclibc-ubacktrace-asneeded-fix.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/main/libc0.9.32/uclibc-ubacktrace-asneeded-fix.patch b/main/libc0.9.32/uclibc-ubacktrace-asneeded-fix.patch new file mode 100644 index 0000000000..7ac85a03f3 --- /dev/null +++ b/main/libc0.9.32/uclibc-ubacktrace-asneeded-fix.patch @@ -0,0 +1,22 @@ +--- uClibc-0.9.32-rc3.orig/Makefile.in ++++ uClibc-0.9.32-rc3/Makefile.in +@@ -336,7 +336,7 @@ + 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)$(MULTILIB_DIR)/$(SHARED_MAJORNAME) ] ; then \ ++ if [ -f $(top_builddir)lib/libc.so -a -f $(PREFIX)$(DEVEL_PREFIX)$(MULTILIB_DIR)/libc.so ] ; then \ + echo "GROUP ( $(UBACKTRACE_ASNEEDED) )" >> $(PREFIX)$(DEVEL_PREFIX)$(MULTILIB_DIR)/libc.so; \ + fi + endif +--- uClibc-0.9.32-rc3.orig/Rules.mak ++++ uClibc-0.9.32-rc3/Rules.mak +@@ -118,7 +118,7 @@ + + LIBC := libc + SHARED_LIBNAME := $(LIBC).so.$(ABI_VERSION) +-UBACKTRACE_DSO := libubacktrace.so.$(MAJOR_VERSION) ++UBACKTRACE_DSO := libubacktrace.so.$(ABI_VERSION) + ifneq ($(findstring $(TARGET_ARCH) , hppa64 ia64 mips64 powerpc64 s390x sparc64 x86_64 ),) + UCLIBC_LDSO_NAME := ld64-uClibc + ARCH_NATIVE_BIT := 64 |