mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-22 20:03:02 +01:00
AIX port - avoid using non-standard function dladdr() unconditionally
This commit is contained in:
parent
1e181aa272
commit
0bcde3f272
@ -615,6 +615,7 @@ AC_FUNC_SETPGRP
|
||||
AC_CHECK_FUNCS(setpgid)
|
||||
AC_FUNC_GETPGRP
|
||||
AC_CHECK_FUNCS(flock)
|
||||
AC_CHECK_FUNCS(dladdr)
|
||||
AC_CHECK_FUNCS(initgroups)
|
||||
AC_CHECK_FUNCS(getpagesize)
|
||||
AC_CHECK_FUNCS(pread pwrite)
|
||||
|
@ -87,6 +87,7 @@ namespace
|
||||
#ifdef WIN_NT
|
||||
libUtilPath->assign("ib_util");
|
||||
#else
|
||||
#ifdef HAVE_DLADDR
|
||||
Dl_info info;
|
||||
if (dladdr((void*) IbUtil::initialize, &info) != 0)
|
||||
{
|
||||
@ -104,8 +105,9 @@ namespace
|
||||
PathUtils::concatPath(libUtilPath, temp3, "../lib/libib_util");
|
||||
}
|
||||
else
|
||||
#endif // HAVE_DLADDR
|
||||
libUtilPath->assign("libib_util");
|
||||
#endif
|
||||
#endif // WIN_NT
|
||||
|
||||
ModuleLoader::doctorModuleExtention(libUtilPath);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user