diff --git a/arch/sim/src/Makefile b/arch/sim/src/Makefile index 6f39c907b3..2db14558ed 100644 --- a/arch/sim/src/Makefile +++ b/arch/sim/src/Makefile @@ -194,8 +194,10 @@ endif ifeq ($(CONFIG_RPTUN),y) CSRCS += up_rptun.c HOSTSRCS += up_shmem.c +ifneq ($(CONFIG_HOST_MACOS),y) STDLIBS += -lrt endif +endif ifeq ($(CONFIG_FS_HOSTFS),y) ifneq ($(CONFIG_FS_HOSTFS_RPMSG),y)