Add -Fi option for dynlibs.inc directory to DYNLIBS_OPT in dynlibs unit rule

This commit is contained in:
Pierre Muller 2023-09-20 13:16:27 +02:00
parent b5e3217bb5
commit 3c0e3b1a3f

View File

@ -838,6 +838,12 @@ DYNLIBS_DEPS=$(INC)/dynlibs.pas $(DYNLIBSINCDIR)/dynlibs.inc \
objpas$(PPUEXT) $(RTLCONSTSUNIT)$(PPUEXT) $(SYSUTILSUNIT)$(PPUEXT) \
$(DYNLIBS_DEPS_OS) $(DYNLIBS_DEPS_CPU)
ifdef DYNLIBSINCDIR
ifndef DYNLIBS_OPT
DYNLIBS_OPT=-Fi$(DYNLIBSINCDIR)
endif
endif
dynlibs$(PPUEXT) : $(DYNLIBS_DEPS)
$(COMPILER) $(DYNLIBS_OPT) $<