From de2938242d9065152f3d503b3e025b8b7cffc90e Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 10 Jan 2006 05:37:58 +0000 Subject: dont depend on libc.so if we dont have shared --- Rules.mak | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Rules.mak b/Rules.mak index 9b0829ac4..cd914a3a8 100644 --- a/Rules.mak +++ b/Rules.mak @@ -61,7 +61,11 @@ LIBC := libc SHARED_MAJORNAME := $(LIBC).so.$(MAJOR_VERSION) UCLIBC_LDSO := ld-uClibc.so.$(MAJOR_VERSION) NONSHARED_LIBNAME := uclibc_nonshared.a +ifeq ($(HAVE_SHARED),y) libc := $(top_builddir)lib/$(SHARED_MAJORNAME) +else +libc := +endif interp := $(top_builddir)lib/interp.os ldso := $(top_builddir)lib/$(UCLIBC_LDSO) headers_dep := $(top_builddir)include/bits/sysnum.h -- cgit v1.2.3