summaryrefslogtreecommitdiff
path: root/Rules.mak
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-01-10 05:37:58 +0000
committerMike Frysinger <vapier@gentoo.org>2006-01-10 05:37:58 +0000
commitde2938242d9065152f3d503b3e025b8b7cffc90e (patch)
tree0cfd7f51ac38250ecc0c88741ad6e4c0716459f0 /Rules.mak
parentb1a75cacd2581a5d53765dbbe661606374a7eafa (diff)
dont depend on libc.so if we dont have shared
Diffstat (limited to 'Rules.mak')
-rw-r--r--Rules.mak4
1 files changed, 4 insertions, 0 deletions
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