mirror of https://gitlab.com/basile.b/dexed.git
fix, linux32, phobos not added to libman on first run
This commit is contained in:
parent
fc137ac565
commit
ec0a337c1a
|
@ -89,11 +89,14 @@ begin
|
|||
{$ENDIF}
|
||||
{$IFDEF LINUX}
|
||||
// add phobos
|
||||
if DirectoryExists('/usr/include/dmd/phobos') and FileExists('/usr/lib/libphobos2.a') then
|
||||
if DirectoryExists('/usr/include/dmd/phobos') then
|
||||
begin
|
||||
with TLibraryItem(fCol.Add) do begin
|
||||
libAlias := 'phobos';
|
||||
libFile := '/usr/lib/libphobos2.a';
|
||||
if FileExists('/usr/lib/libphobos2.a') then
|
||||
libFile := '/usr/lib/libphobos2.a'
|
||||
else if FileExists('/usr/lib32/libphobos2.a') then
|
||||
libFile := '/usr/lib32/libphobos2.a';
|
||||
libSourcePath := '/usr/include/dmd/phobos';
|
||||
end;
|
||||
end;
|
||||
|
|
Loading…
Reference in New Issue