add livte alias to non-devel so name

This commit is contained in:
Basile Burg 2018-04-20 05:26:51 +02:00
parent e6aaaf407f
commit 7ff7d16576
1 changed files with 5 additions and 2 deletions

View File

@ -97,14 +97,17 @@ var
function Gtk2TermLoad: Boolean;
const
vte = 'libvte.so';
vten1 = 'libvte.so';
vten2 = 'libvte.so.9';
var
Lib: TLibHandle;
begin
if Initialized then
Exit(Loaded);
Initialized := True;
Lib := LoadLibrary(vte);
Lib := LoadLibrary(vten2);
if Lib = 0 then
Lib := LoadLibrary(vten1);
if Lib = 0 then
Exit(Loaded);