Only use the libssl.so linking hack for AppImages

This commit is contained in:
Cameron Gutman 2026-01-27 21:50:34 -06:00
commit d4d4ab5b06

View file

@ -484,7 +484,7 @@ int main(int argc, char *argv[])
// Force AntiHooking.dll to be statically imported and loaded // Force AntiHooking.dll to be statically imported and loaded
// by ntdll on Win32 platforms by calling a dummy function. // by ntdll on Win32 platforms by calling a dummy function.
AntiHookingDummyImport(); AntiHookingDummyImport();
#elif defined(Q_OS_LINUX) #elif defined(APP_IMAGE)
// Force libssl.so to be directly linked to our binary, so // Force libssl.so to be directly linked to our binary, so
// linuxdeployqt can find it and include it in our AppImage. // linuxdeployqt can find it and include it in our AppImage.
// QtNetwork will pull it in via dlopen(). // QtNetwork will pull it in via dlopen().