diff options
Diffstat (limited to 'ext/fam/config.m4')
-rw-r--r-- | ext/fam/config.m4 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/fam/config.m4 b/ext/fam/config.m4 index ebbd0e4db1..63a6efcdfa 100644 --- a/ext/fam/config.m4 +++ b/ext/fam/config.m4 @@ -42,12 +42,12 @@ LIBSYMBOL=FAMOpen # you most likely want to change this PHP_CHECK_LIBRARY($LIBNAME,$LIBSYMBOL, [ - PHP_ADD_LIBRARY_WITH_PATH($LIBNAME, $FAM_DIR/lib, FAM_SHARED_LIBADD) + PHP_ADD_LIBRARY_WITH_PATH($LIBNAME, $FAM_DIR/$PHP_LIBDIR, FAM_SHARED_LIBADD) AC_DEFINE(HAVE_FAMLIB,1,[ ]) ],[ AC_MSG_ERROR([wrong fam lib version or lib not found]) ],[ - -L$FAM_DIR/lib -lm -ldl + -L$FAM_DIR/$PHP_LIBDIR -lm -ldl ]) PHP_SUBST(FAM_SHARED_LIBADD) |