diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-11-13 09:57:26 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-11-13 13:09:41 +0100 |
commit | 9984579e96a966c2e47db98ceeb9a83b1adefa00 (patch) | |
tree | 7fccc7ba951a3d3f84fdfd4ba38bedb186f3760b /connectivity | |
parent | 1568e51ff288e43b0a97257dbe3d3c81bdb1d386 (diff) |
survive building dbaccess+connectivity with --disable-dynamic-loading
Change-Id: I49387d2b6ec1893bf721e3289f2f620a4ce71fb3
Reviewed-on: https://gerrit.libreoffice.org/44668
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'connectivity')
-rw-r--r-- | connectivity/source/drivers/odbc/OFunctions.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/connectivity/source/drivers/odbc/OFunctions.cxx b/connectivity/source/drivers/odbc/OFunctions.cxx index dbbcdc7ff7f0..cb04f307424c 100644 --- a/connectivity/source/drivers/odbc/OFunctions.cxx +++ b/connectivity/source/drivers/odbc/OFunctions.cxx @@ -90,6 +90,7 @@ bool LoadLibrary_ODBC3(OUString &_rPath) if (bLoaded) return true; +#ifndef DISABLE_DYNLOADING #ifdef _WIN32 _rPath = "ODBC32.DLL"; #endif @@ -106,6 +107,7 @@ bool LoadLibrary_ODBC3(OUString &_rPath) if ( !pODBCso ) pODBCso = osl_loadModule( _rPath.pData,SAL_LOADMODULE_NOW ); +#endif if( !pODBCso) return false; |