summaryrefslogtreecommitdiff
path: root/ext/odbc
diff options
context:
space:
mode:
authorJani Taskinen <jani@php.net>2007-07-31 13:02:00 (GMT)
committerJani Taskinen <jani@php.net>2007-07-31 13:02:00 (GMT)
commit8af7bc20448bfd005c02d10f736c4dd84e69872d (patch)
treeb44267dcea1ec973cc8b1a85a771a302e597c8d9 /ext/odbc
parent095fdf88ce19b57efdf5fda32c4069204135f9af (diff)
downloadphp-8af7bc20448bfd005c02d10f736c4dd84e69872d.tar.gz
MFH: Fix some lib vs $PHP_LIBDIR issues
Diffstat (limited to 'ext/odbc')
-rw-r--r--ext/odbc/config.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/odbc/config.m4 b/ext/odbc/config.m4
index 95223cc..5be3288 100644
--- a/ext/odbc/config.m4
+++ b/ext/odbc/config.m4
@@ -136,7 +136,7 @@ PHP_ARG_WITH(sapdb,,
PHP_SAPDB=/usr/local
fi
PHP_ADD_INCLUDE($PHP_SAPDB/incl)
- PHP_ADD_LIBPATH($PHP_SAPDB/lib)
+ PHP_ADD_LIBPATH($PHP_SAPDB/$PHP_LIBDIR)
PHP_ADD_LIBRARY(sqlod)
ODBC_TYPE=sapdb
AC_DEFINE(HAVE_SAPDB,1,[ ])
@@ -373,7 +373,7 @@ PHP_ARG_WITH(iodbc,,
if test "$PHP_IODBC" = "yes"; then
PHP_IODBC=/usr/local
fi
- PHP_ADD_LIBRARY_WITH_PATH(iodbc, $PHP_IODBC/lib)
+ PHP_ADD_LIBRARY_WITH_PATH(iodbc, $PHP_IODBC/$PHP_LIBDIR)
PHP_ADD_INCLUDE($PHP_IODBC/include, 1)
ODBC_TYPE=iodbc
ODBC_INCLUDE=-I$PHP_IODBC/include