about summary refs log tree commit diff
path: root/extra-lib.mk
diff options
context:
space:
mode:
Diffstat (limited to 'extra-lib.mk')
-rw-r--r--extra-lib.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/extra-lib.mk b/extra-lib.mk
index aa92fd1664..f6a1c83e37 100644
--- a/extra-lib.mk
+++ b/extra-lib.mk
@@ -19,10 +19,10 @@ extra-objs := $(extra-objs)
 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),\
+			     $(common-objpfx)$(patsubst %,$(libtype$o),\
 			     $(lib:lib%=%)))
 ifneq (,$(filter .so,$(object-suffixes-$(lib))))
-alltypes-$(lib) += $(objpfx)$(lib).so
+alltypes-$(lib) += $(common-objpfx)$(lib).so
 endif
 
 ifeq (,$($(lib)-no-lib-dep))
@@ -33,7 +33,7 @@ endif
 
 # Use o-iterator.mk to generate a rule for each flavor of library.
 define o-iterator-doit
-$(objpfx)$(patsubst %,$(libtype$o),$(lib:lib%=%)): \
+$(common-objpfx)$(patsubst %,$(libtype$o),$(lib:lib%=%)): \
   $($(lib)-routines:%=$(objpfx)%$o); $$(build-extra-lib)
 endef
 object-suffixes-left = $(object-suffixes-$(lib))