diff --git a/rtl/linux/Makefile b/rtl/linux/Makefile index a613c458ed..ca984da622 100644 --- a/rtl/linux/Makefile +++ b/rtl/linux/Makefile @@ -2589,7 +2589,7 @@ endif ifeq ($(FULL_TARGET),riscv64-embedded) override COMPILER_TARGETDIR+=. endif -override SHARED_LIBUNITS=$(SYSTEMUNIT) objpas strings dos unix baseunix unixtype unixutil sysutils typinfo math $(CPU_UNITS) getopts errors classes fgl sysconst rtlconsts types linux sortbase +override SHARED_LIBUNITS=$(SYSTEMUNIT) objpas strings dos unix baseunix unixtype unixutil sysutils typinfo math $(CPU_UNITS) getopts errors classes fgl sysconst syscall rtlconsts types linux sortbase ifdef REQUIRE_UNITSDIR override UNITSDIR+=$(REQUIRE_UNITSDIR) endif diff --git a/rtl/linux/Makefile.fpc b/rtl/linux/Makefile.fpc index 105b9faf26..8e23ac0d63 100644 --- a/rtl/linux/Makefile.fpc +++ b/rtl/linux/Makefile.fpc @@ -53,7 +53,7 @@ libunits=$(SYSTEMUNIT) objpas strings dos \ sysutils typinfo math \ $(CPU_UNITS) getopts \ errors \ - classes fgl sysconst rtlconsts types \ + classes fgl sysconst syscall rtlconsts types \ linux sortbase [prerules]