]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
* extra-lib.mk (install-lib, extra-objs, alltypes-$(lib)): Make
authorRoland McGrath <roland@gnu.org>
Sat, 8 Apr 1995 19:23:00 +0000 (19:23 +0000)
committerRoland McGrath <roland@gnu.org>
Sat, 8 Apr 1995 19:23:00 +0000 (19:23 +0000)
  sure these are simply-expanded variables.

ChangeLog
extra-lib.mk

index 8111bc65cb31dbbc2c8eb77f2f9c4afac68bdf5c..270a235570496e60ac6c3e7499cb8173b7e04f12 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 Sat Apr  8 00:40:59 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
 
+       * extra-lib.mk (install-lib, extra-objs, alltypes-$(lib)): Make
+       sure these are simply-expanded variables.
+
        * locale/loadlocale.c (_nl_load_locale): Use MAP_INHERIT flag in
        mmap call.
 
index 436170e0d0084d59344c5a6790d9b5b025923055..d4d2b52829b4bde4e57b18f3ee0daaecdae92c2c 100644 (file)
@@ -10,12 +10,17 @@ extra-libs-left := $(filter-out $(lib),$(extra-libs-left))
 
 object-suffixes-$(lib) := $(filter-out $($(lib)-inhibit-o),$(object-suffixes))
 
+# Make sure these are simply-expanded variables before we append to them,
+# since we want the expressions we we append to be expanded right now.
+install-lib := $(install-lib)
+extra-objs := $(extra-objs)
+
 # Add each flavor of library to the lists of things to build and install.
 install-lib += $(foreach o,$(object-suffixes-$(lib)),$(lib:lib%=$(libtype$o)))
 extra-objs += $(foreach o,$(object-suffixes-$(lib)),$($(lib)-routines:=$o))
-alltypes-$(lib) = $(foreach o,$(object-suffixes-$(lib)),\
-                           $(objpfx)$(patsubst %,$(libtype$o),\
-                           $(lib:lib%=%)))
+alltypes-$(lib) := $(foreach o,$(object-suffixes-$(lib)),\
+                            $(objpfx)$(patsubst %,$(libtype$o),\
+                            $(lib:lib%=%)))
 ifneq (,$(filter .so,$(object-suffixes-$(lib))))
 alltypes-$(lib) += $(objpfx)$(lib).so
 endif