mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 14:22:01 +00:00
also add -I$(srcdir) when generating xpt files
This commit is contained in:
parent
9767dd0ace
commit
b6f386cfc1
@ -921,7 +921,7 @@ ifndef NO_GEN_XPT
|
||||
# generate intermediate .xpt files into $(XPIDL_GEN_DIR), then link
|
||||
# into $(MODULE).xpt and export it to $(DIST)/bin/components.
|
||||
$(XPIDL_GEN_DIR)/%.xpt: %.idl $(IDL_COMPILE) $(XPIDL_GEN_DIR)
|
||||
$(XPIDL_COMPILE) -m typelib -w -I $(XPDIST)/idl -o $(XPIDL_GEN_DIR)/$* $<
|
||||
$(XPIDL_COMPILE) -m typelib -w -I $(XPDIST)/idl -I$(srcdir) -o $(XPIDL_GEN_DIR)/$* $<
|
||||
|
||||
$(XPIDL_GEN_DIR)/$(MODULE).xpt: $(patsubst %.idl,$(XPIDL_GEN_DIR)/%.xpt,$(XPIDLSRCS))
|
||||
$(XPIDL_LINK) $(XPIDL_GEN_DIR)/$(MODULE).xpt $^
|
||||
|
Loading…
Reference in New Issue
Block a user