mirror of
https://github.com/danog/ext-uv.git
synced 2024-11-30 04:29:01 +01:00
honours --with-libdir build option
This commit is contained in:
parent
d877d48a6d
commit
4a0ae96c3b
@ -62,12 +62,12 @@ if test $PHP_UV != "no"; then
|
||||
|
||||
PHP_CHECK_LIBRARY(uv, uv_version,
|
||||
[
|
||||
PHP_ADD_LIBRARY_WITH_PATH(uv, $UV_DIR/lib, UV_SHARED_LIBADD)
|
||||
PHP_ADD_LIBRARY_WITH_PATH(uv, $UV_DIR/$PHP_LIBDIR, UV_SHARED_LIBADD)
|
||||
AC_DEFINE(HAVE_UVLIB,1,[ ])
|
||||
],[
|
||||
AC_MSG_ERROR([wrong uv library version or library not found])
|
||||
],[
|
||||
-L$UV_DIR/lib -lm
|
||||
-L$UV_DIR/$PHP_LIBDIR -lm
|
||||
])
|
||||
|
||||
case $host in
|
||||
|
Loading…
Reference in New Issue
Block a user