Added the '-lrt' CFLAG for linux arch back again

This commit is contained in:
Tjerk Meesters 2014-08-21 18:14:25 +08:00
parent 8b5ffcfaa6
commit f2389fc530

View File

@ -82,5 +82,11 @@ if test $PHP_UV != "no"; then
-L$UV_DIR/lib -lm -L$UV_DIR/lib -lm
]) ])
case $host in
*linux*)
CFLAGS="$CFLAGS -lrt"
esac
PHP_SUBST([CFLAGS])
PHP_SUBST(UV_SHARED_LIBADD) PHP_SUBST(UV_SHARED_LIBADD)
fi fi