You've already forked lazarus-ccr
* Search for dependencies in normal search-path also
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1363 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -1297,6 +1297,11 @@ begin
|
|||||||
NewDir:=ExtractFilePath(aDependentLib);
|
NewDir:=ExtractFilePath(aDependentLib);
|
||||||
SetCurrentDir(NewDir);
|
SetCurrentDir(NewDir);
|
||||||
h := LoadLibrary(aDependentLib);
|
h := LoadLibrary(aDependentLib);
|
||||||
|
// On Linux (Fedora) at least, some dependencies are not in the xulrunner path,
|
||||||
|
// but in the normal-library location. So also try to load the dependency without
|
||||||
|
// the path.
|
||||||
|
if h = 0 then
|
||||||
|
h := LoadLibrary(ExtractFileName(aDependentLib));
|
||||||
SetCurrentDir(OldDir);
|
SetCurrentDir(OldDir);
|
||||||
if h <> 0 then
|
if h <> 0 then
|
||||||
AppendDependentLib(h)
|
AppendDependentLib(h)
|
||||||
|
Reference in New Issue
Block a user