mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-07 02:48:07 +02:00
Add -Fi option for dynlibs.inc directory to DYNLIBS_OPT in dynlibs unit rule
This commit is contained in:
parent
b5e3217bb5
commit
3c0e3b1a3f
@ -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) $<
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user