Handle specific main cwstring.pp source for android OS

This commit is contained in:
Pierre Muller 2023-09-25 22:27:53 +02:00
parent 48ea716826
commit b12932c7f8
2 changed files with 10 additions and 1 deletions

View File

@ -61,6 +61,9 @@ PTYPESINCDIR=$(LINUXINC)
SYSCALL_DEPS_OS=$(LINUXINC)/$(ARCH)/syscallh.inc $(LINUXINC)/$(ARCH)/sysnr.inc
SYSUTILS_DEPS_OS=$(DLUNIT)$(PPUEXT)
# Android has a specific file for cwstring.pp unit main source
CWSTRINGDIR=$(OSDIR)
UNITPREFIX=rtl
CPU_UNITS=

View File

@ -1480,7 +1480,13 @@ UnixApi.CThreads$(PPUEXT) : $(NSINC)/UnixApi.CThreads.pp $(CTHREADS_DEPS)
#
# CWString
#
CWSTRING_DEPS=$(UNIXINC)/cwstring.pp $(RTLDEFSINCDIR)/rtldefs.inc \
ifndef CWSTRINGDIR
CWSTRINGDIR=$(UNIXINC)
CWSSTRING_INC=$(RTLDEFSINCDIR)/rtldefs.inc
endif
CWSTRING_DEPS=$(CWSTRINGDIR)/cwstring.pp $(CWSTRING_INC) \
$(SYSTEMUNIT)$(PPUEXT) objpas$(PPUEXT) $(UNIXTYPEUNIT)$(PPUEXT) $(BASEUNIXUNIT)$(PPUEXT) \
$(UNIXUNIT)$(PPUEXT) $(UNIXTYPEUNIT)$(PPUEXT) $(CTYPESUNIT)$(PPUEXT) \
$(DYNLIBSUNIT)$(PPUEXT) $(UNIXCPUNIT)$(PPUEXT) \