Browse Source

buildsys: fix IS_IN_lib* for .i

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer 9 years ago
parent
commit
5d3c0cc2aa
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Makerules

+ 1 - 1
Makerules

@@ -29,7 +29,7 @@ objs: all_objs
 # apply unconditional per-directory flags
 define add_IS_IN_lib
 ifneq ($(strip $(2)),)
-__add_IS_IN_lib := $(2)
+__add_IS_IN_lib := $(2) $(2:.o=.i) $(2:.os=.i) $(2:.oS=.i)
 $$(__add_IS_IN_lib): CFLAGS-for-library-members:=$(CFLAGS-$(1)) -DIN_LIB=$(word 1,$(subst /, ,$(1)))
 endif
 endef