diff options
author | Roland McGrath <roland@gnu.org> | 1995-04-08 19:23:00 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1995-04-08 19:23:00 +0000 |
commit | 6aa8372e1684381fdc8fdacb4fdd71415c2ecde3 (patch) | |
tree | 9653a046b04157c065f2c87cf7b50386d24f7e27 /extra-lib.mk | |
parent | 883bc19b7c819edce146ca43b77991f7dcf0608b (diff) | |
download | glibc-6aa8372e1684381fdc8fdacb4fdd71415c2ecde3.tar.gz |
* extra-lib.mk (install-lib, extra-objs, alltypes-$(lib)): Make
sure these are simply-expanded variables.
Diffstat (limited to 'extra-lib.mk')
-rw-r--r-- | extra-lib.mk | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/extra-lib.mk b/extra-lib.mk index 436170e0d0..d4d2b52829 100644 --- a/extra-lib.mk +++ b/extra-lib.mk @@ -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 |