mirror of
https://github.com/danog/ext-uv.git
synced 2024-11-26 20:14:47 +01:00
OSX doesn't have -lrt.
This commit is contained in:
parent
ace9cb9d3f
commit
2b8cf9bf0c
@ -56,7 +56,7 @@ if test $PHP_UV != "no"; then
|
||||
fi
|
||||
PHP_ADD_INCLUDE([$ext_srcdir/libuv/include])
|
||||
|
||||
CFLAGS=" $CFLAGS -Wunused-variable -Wpointer-sign -Wimplicit-function-declaration -Winline -Wunused-macros -Wredundant-decls -Wstrict-aliasing=2 -Wswitch-enum -Wdeclaration-after-statement -Wl,libuv/uv.a -lrt"
|
||||
CFLAGS=" $CFLAGS -Wunused-variable -Wpointer-sign -Wimplicit-function-declaration -Winline -Wunused-macros -Wredundant-decls -Wstrict-aliasing=2 -Wswitch-enum -Wdeclaration-after-statement -Wl,libuv/uv.a"
|
||||
|
||||
case $host in
|
||||
*darwin*)
|
||||
@ -68,6 +68,7 @@ if test $PHP_UV != "no"; then
|
||||
CFLAGS="$CFLAGS -framework CoreServices -framework Carbon"
|
||||
;;
|
||||
*linux*)
|
||||
CFLAGS="#CFLAGS -lrt"
|
||||
esac
|
||||
|
||||
PHP_SUBST(UV_SHARED_LIBADD)
|
||||
|
Loading…
Reference in New Issue
Block a user