mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-02-25 10:01:00 +00:00
Try linking some libs dynamically on Linux.
This commit is contained in:
parent
68027fd23e
commit
28a567986d
@ -83,7 +83,7 @@ bool RunShellCommand(const QByteArray &command) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void FallbackFontConfig() {
|
void FallbackFontConfig() {
|
||||||
#ifndef DESKTOP_APP_USE_PACKAGED
|
#ifdef TDESKTOP_USE_FONT_CONFIG_FALLBACK
|
||||||
const auto custom = cWorkingDir() + "tdata/fc-custom-1.conf";
|
const auto custom = cWorkingDir() + "tdata/fc-custom-1.conf";
|
||||||
const auto finish = gsl::finally([&] {
|
const auto finish = gsl::finally([&] {
|
||||||
if (QFile(custom).exists()) {
|
if (QFile(custom).exists()) {
|
||||||
@ -118,7 +118,7 @@ void FallbackFontConfig() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
QFile(":/fc/fc-custom.conf").copy(custom);
|
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) {
|
bool GenerateDesktopFile(const QString &targetPath, const QString &args) {
|
||||||
|
2
cmake
2
cmake
@ -1 +1 @@
|
|||||||
Subproject commit 6eff82642be0dd58c5c31b9cf2f0a905d9cac4b9
|
Subproject commit 22b099429aa9368fe0339ee48bcf6dbcdd3ac8d5
|
Loading…
Reference in New Issue
Block a user