Skip to content

Commit 35df38f

Browse files
committed
修复编译错误
1 parent d84650e commit 35df38f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

make.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ function set_flag() {
2121
fi
2222
}
2323

24-
COMMON_FLAGS="-I ../include -shared -fPIC -s -O3 -ldl -lpthread"
24+
COMMON_FLAGS="-I ../include -shared -fPIC -s -O3 -ldl -lrt -lpthread"
2525
DEFAULT_CXXFLAGS="-std=c++11 $COMMON_FLAGS"
2626
DEFAULT_CFLAGS="$COMMON_FLAGS"
2727
DEFAULT_LDFLAGS=""

0 commit comments

Comments
 (0)