patch-ext_odbc_config_m4 585 B

123456789101112131415
  1. $OpenBSD: patch-ext_odbc_config_m4,v 1.3 2015/04/25 16:20:29 robert Exp $
  2. don't link php binary with iodbc
  3. --- ext/odbc/config.m4.orig.port Wed Apr 15 20:05:57 2015
  4. +++ ext/odbc/config.m4 Sat Apr 25 18:10:11 2015
  5. @@ -396,7 +396,6 @@ PHP_ARG_WITH(iodbc,,
  6. AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
  7. fi
  8. if test -x "$PKG_CONFIG" && $PKG_CONFIG --exists libiodbc ; then
  9. - PHP_ADD_LIBRARY_WITH_PATH(iodbc, $PHP_IODBC/$PHP_LIBDIR)
  10. ODBC_TYPE=iodbc
  11. ODBC_INCLUDE=`$PKG_CONFIG --cflags-only-I libiodbc`
  12. ODBC_LFLAGS=`$PKG_CONFIG --libs-only-L libiodbc`