提交 56cdd3e8 编写于 作者: L leipeng.tk

Makefile: move -lrt -laio to build_tools/build_detect_platform

上级 1f26b0cf
......@@ -240,12 +240,6 @@ ifeq ($(LINK_TERARK),static)
endif
endif
ifeq ($(shell uname),Linux)
#LINUX_LIBAIO := -laio
LDFLAGS += -laio -lrt
endif
###############################################################################
# Lite build flag.
......
......@@ -147,7 +147,7 @@ case "$TARGET_OS" in
else
PLATFORM_LDFLAGS="$PLATFORM_LDFLAGS -latomic"
fi
PLATFORM_LDFLAGS="$PLATFORM_LDFLAGS -lpthread -lrt"
PLATFORM_LDFLAGS="$PLATFORM_LDFLAGS -lpthread -lrt -laio"
# PORT_FILES=port/linux/linux_specific.cc
;;
SunOS)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册