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}
|
{$ENDIF}
|
||||||
{$IFDEF LINUX}
|
{$IFDEF LINUX}
|
||||||
// add phobos
|
// add phobos
|
||||||
if DirectoryExists('/usr/include/dmd/phobos') and FileExists('/usr/lib/libphobos2.a') then
|
if DirectoryExists('/usr/include/dmd/phobos') then
|
||||||
begin
|
begin
|
||||||
with TLibraryItem(fCol.Add) do begin
|
with TLibraryItem(fCol.Add) do begin
|
||||||
libAlias := 'phobos';
|
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';
|
libSourcePath := '/usr/include/dmd/phobos';
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
Loading…
Reference in New Issue