From f5e9f1afabd89d2076c9b8550e2c179d86aa2874 Mon Sep 17 00:00:00 2001 From: Marc Andre Tanner Date: Wed, 11 Nov 2009 22:59:11 +0100 Subject: [PATCH] uclibc: fix make utils build In theory the -Wl,-rpath-link,$(top_builddir)lib should make sure that the utils are linked against the newly built libc but apparently this isn't the case. We therefore add -L$(top_builddir). Signed-off-by: Marc Andre Tanner --- sources/patches/uClibc-fix-utils-build.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 sources/patches/uClibc-fix-utils-build.patch diff --git a/sources/patches/uClibc-fix-utils-build.patch b/sources/patches/uClibc-fix-utils-build.patch new file mode 100644 index 0000000..32e3630 --- /dev/null +++ b/sources/patches/uClibc-fix-utils-build.patch @@ -0,0 +1,11 @@ +--- uClibc/utils/Makefile.in 2009-01-14 16:54:12.000000000 +0100 ++++ uClibc-working/utils/Makefile.in 2009-11-11 22:53:41.000000000 +0100 +@@ -5,7 +5,7 @@ + # Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. + # + +-CFLAGS-utils := -DNOT_IN_libc $(SSP_ALL_CFLAGS) -B$(top_builddir)lib -Wl,-rpath-link,$(top_builddir)lib ++CFLAGS-utils := -DNOT_IN_libc $(SSP_ALL_CFLAGS) -B$(top_builddir)lib -Wl,-rpath-link,$(top_builddir)lib -L$(top_builddir)lib + + CFLAGS-utils-common := -I$(top_srcdir)ldso/include -DUCLIBC_RUNTIME_PREFIX=\"$(RUNTIME_PREFIX)\" -DUCLIBC_LDSO=$(UCLIBC_LDSO) + CFLAGS-utils-shared := -- 2.11.4.GIT