Browse Source

Add unixtype nit dependency for ctypes unit for Unix OSes

Pierre Muller 1 year ago
parent
commit
5001c72510
1 changed files with 4 additions and 0 deletions
  1. 4 0
      rtl/inc/Makefile.rtl

+ 4 - 0
rtl/inc/Makefile.rtl

@@ -1478,6 +1478,10 @@ UnixApi.CWString$(PPUEXT) : $(NSINC)/UnixApi.CWString.pp $(CWSTRING_DEPS)
 # Ctypes
 #
 
+ifneq ($(UNIXINC),)
+  CTYPES_DEPS_OS+=$(UNIXTYPEUNIT)$(PPUEXT)
+endif
+
 CTYPES_DEPS=$(INC)/ctypes.pp \
             $(SYSTEMUNIT)$(PPUEXT) \
             $(CTYPES_DEPS_OS) $(CTYPES_DEPS_CPU)