sim: Fix librt can't find on macOS

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2020-05-02 00:41:07 +08:00 committed by patacongo
parent 17112f4eed
commit 2476aad5b4

View File

@ -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)