mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-17 21:49:18 +02:00
* Do not accept $(FPCDIR)/units sub-directory existence to validate FPCDIR variable value
git-svn-id: trunk@35817 -
This commit is contained in:
parent
cd13255d56
commit
19148275db
@ -392,7 +392,7 @@ endif
|
|||||||
# Test FPCDIR to look if the RTL dir exists
|
# Test FPCDIR to look if the RTL dir exists
|
||||||
ifdef FPCDIR
|
ifdef FPCDIR
|
||||||
override FPCDIR:=$(subst \,/,$(FPCDIR))
|
override FPCDIR:=$(subst \,/,$(FPCDIR))
|
||||||
ifeq ($(wildcard $(addprefix $(FPCDIR)/,rtl units)),)
|
ifeq ($(wildcard $(addprefix $(FPCDIR)/,rtl)),)
|
||||||
override FPCDIR=wrong
|
override FPCDIR=wrong
|
||||||
endif
|
endif
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user