Skip to content

Commit f69e1e9

Browse files
vargazshana
authored andcommitted
Use proper library/abi for qt on linux.
1 parent ff38bac commit f69e1e9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/QtBindings/Libs.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,10 @@ static Libs ()
1313
{
1414
string lib;
1515
CppAbi abi;
16-
if (Environment.OSVersion.Platform == PlatformID.Win32NT)
16+
if (Environment.OSVersion.Platform == PlatformID.Unix) {
17+
lib = "{0}.so";
18+
abi = new ItaniumAbi ();
19+
} else if (Environment.OSVersion.Platform == PlatformID.Win32NT)
1720
{ // for Windows...
1821
lib = "{0}d4.dll";
1922
abi = new MsvcAbi ();

0 commit comments

Comments
 (0)