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);
|
||||
SetCurrentDir(NewDir);
|
||||
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);
|
||||
if h <> 0 then
|
||||
AppendDependentLib(h)
|
||||
|
Reference in New Issue
Block a user