mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-03 03:20:57 +00:00
remove the PBX_ODBC logic from the configure script, and add GENERIC_ODCB logic that includes copying the relevant LIB and INCLUDE data from either UnixODBC or iODBC, based on which was found; if both were found, prefer UnixODBC
this stops modules from being linked against both sets of libraries on systems that have both installed git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@168734 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -25,9 +25,8 @@
|
||||
*/
|
||||
|
||||
/*** MODULEINFO
|
||||
<depend>odbc</depend>
|
||||
<use>unixodbc</use>
|
||||
<use>iodbc</use>
|
||||
<depend>generic_odbc</depend>
|
||||
<depend>ltdl</depend>
|
||||
***/
|
||||
|
||||
#include "asterisk.h"
|
||||
|
@@ -29,10 +29,8 @@
|
||||
*/
|
||||
|
||||
/*** MODULEINFO
|
||||
<depend>odbc</depend>
|
||||
<depend>generic_odbc</depend>
|
||||
<depend>ltdl</depend>
|
||||
<use>unixodbc</use>
|
||||
<use>iodbc</use>
|
||||
***/
|
||||
|
||||
#include "asterisk.h"
|
||||
|
Reference in New Issue
Block a user