mirror of
https://github.com/danog/ext-uv.git
synced 2024-11-26 20:14:47 +01:00
Merge pull request #22 from remicollet/issue-libdir
honours --with-libdir build option
This commit is contained in:
commit
17619edebf
@ -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