]> Git Repo - uclibc-ng.git/commitdiff
move the HAVE_SHARED/libc check down to after we source .config
authorMike Frysinger <[email protected]>
Wed, 11 Jan 2006 01:23:16 +0000 (01:23 -0000)
committerMike Frysinger <[email protected]>
Wed, 11 Jan 2006 01:23:16 +0000 (01:23 -0000)
Rules.mak

index cd914a3a8e64214ccda0a045adc0b2a71e1fa7ac..c46affa8bd08aa9562b8f659336ed04cc54123af 100644 (file)
--- a/Rules.mak
+++ b/Rules.mak
@@ -1,7 +1,7 @@
 # Rules.make for uClibc
 #
 # Copyright (C) 2000 by Lineo, inc.
-# Copyright (C) 2000-2005 Erik Andersen <[email protected]>
+# Copyright (C) 2000-2006 Erik Andersen <[email protected]>
 #
 # Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
 #
@@ -61,11 +61,7 @@ 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
@@ -84,6 +80,10 @@ ifeq ($(filter $(noconfig_targets),$(MAKECMDGOALS)),)
 -include $(top_builddir).config
 endif
 
+ifneq ($(HAVE_SHARED),y)
+libc :=
+endif
+
 ifndef CROSS
 CROSS=$(subst ",, $(strip $(CROSS_COMPILER_PREFIX)))
 endif
This page took 0.02702 seconds and 4 git commands to generate.