From f2389fc530795e0e91007cfd5da580640cae4776 Mon Sep 17 00:00:00 2001 From: Tjerk Meesters Date: Thu, 21 Aug 2014 18:14:25 +0800 Subject: [PATCH] Added the '-lrt' CFLAG for linux arch back again --- config.m4 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/config.m4 b/config.m4 index 34287ab..8ca9311 100644 --- a/config.m4 +++ b/config.m4 @@ -82,5 +82,11 @@ if test $PHP_UV != "no"; then -L$UV_DIR/lib -lm ]) + case $host in + *linux*) + CFLAGS="$CFLAGS -lrt" + esac + + PHP_SUBST([CFLAGS]) PHP_SUBST(UV_SHARED_LIBADD) fi