Skip to content

Commit 7c6f0bd

Browse files
author
Jani Taskinen
committed
MFH: - Use $PHP_LIBDIR where appropriate
1 parent 3a5501e commit 7c6f0bd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ext/pdo_odbc/config.m4

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,13 +74,13 @@ if test "$PHP_PDO_ODBC" != "no"; then
7474
;;
7575

7676
unixODBC|unixodbc)
77-
pdo_odbc_def_libdir=/usr/local/lib
77+
pdo_odbc_def_libdir=/usr/local/$PHP_LIBDIR
7878
pdo_odbc_def_incdir=/usr/local/include
7979
pdo_odbc_def_lib=odbc
8080
;;
8181

8282
ODBCRouter|odbcrouter)
83-
pdo_odbc_def_libdir=/usr/lib
83+
pdo_odbc_def_libdir=/usr/$PHP_LIBDIR
8484
pdo_odbc_def_incdir=/usr/include
8585
pdo_odbc_def_lib=odbcsdk
8686
;;
@@ -99,7 +99,7 @@ if test "$PHP_PDO_ODBC" != "no"; then
9999

100100
if test -n "$pdo_odbc_dir"; then
101101
PDO_ODBC_INCDIR="$pdo_odbc_dir/include"
102-
PDO_ODBC_LIBDIR="$pdo_odbc_dir/lib"
102+
PDO_ODBC_LIBDIR="$pdo_odbc_dir/$PHP_LIBDIR"
103103
else
104104
PDO_ODBC_INCDIR="$pdo_odbc_def_incdir"
105105
PDO_ODBC_LIBDIR="$pdo_odbc_def_libdir"

0 commit comments

Comments
 (0)