Skip to content

Commit f2389fc

Browse files
committed
Added the '-lrt' CFLAG for linux arch back again
1 parent 8b5ffcf commit f2389fc

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

config.m4

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,5 +82,11 @@ if test $PHP_UV != "no"; then
8282
-L$UV_DIR/lib -lm
8383
])
8484

85+
case $host in
86+
*linux*)
87+
CFLAGS="$CFLAGS -lrt"
88+
esac
89+
90+
PHP_SUBST([CFLAGS])
8591
PHP_SUBST(UV_SHARED_LIBADD)
8692
fi

0 commit comments

Comments
 (0)