mirror of
https://git.proxmox.com/git/mirror_corosync
synced 2025-07-24 22:06:39 +00:00
Allow running with BUILD_DYNAMIC set to zero.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1005 fd59a12c-fef9-0310-b244-a6a79926bd2f
This commit is contained in:
parent
6a7bfa5caf
commit
e5aa601df1
@ -333,13 +333,6 @@ int lcr_ifact_reference (
|
||||
unsigned int res;
|
||||
unsigned int i;
|
||||
|
||||
defaults_path_build ();
|
||||
ld_library_path_build ();
|
||||
|
||||
if (ldso_path_build ("/etc", "ld.so.conf") == -1) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
/*
|
||||
* Determine if the component is already loaded
|
||||
*/
|
||||
@ -348,6 +341,13 @@ int lcr_ifact_reference (
|
||||
goto found;
|
||||
}
|
||||
|
||||
defaults_path_build ();
|
||||
ld_library_path_build ();
|
||||
if (ldso_path_build ("/etc", "ld.so.conf") == -1) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
||||
// TODO error checking in this code is weak
|
||||
/*
|
||||
* Find all *.lcrso files in the cwd
|
||||
|
Loading…
Reference in New Issue
Block a user