2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-01 15:05:56 +00:00

Try linking some libs dynamically on Linux.

This commit is contained in:
John Preston
2020-01-31 16:31:08 +03:00
parent 68027fd23e
commit 28a567986d
2 changed files with 3 additions and 3 deletions

View File

@@ -83,7 +83,7 @@ bool RunShellCommand(const QByteArray &command) {
}
void FallbackFontConfig() {
#ifndef DESKTOP_APP_USE_PACKAGED
#ifdef TDESKTOP_USE_FONT_CONFIG_FALLBACK
const auto custom = cWorkingDir() + "tdata/fc-custom-1.conf";
const auto finish = gsl::finally([&] {
if (QFile(custom).exists()) {
@@ -118,7 +118,7 @@ void FallbackFontConfig() {
}
QFile(":/fc/fc-custom.conf").copy(custom);
#endif // !DESKTOP_APP_USE_PACKAGED
#endif // TDESKTOP_USE_FONT_CONFIG_FALLBACK
}
bool GenerateDesktopFile(const QString &targetPath, const QString &args) {