summarylogtreecommitdiffstats
path: root/Correct-MOC-path.patch
diff options
context:
space:
mode:
Diffstat (limited to 'Correct-MOC-path.patch')
-rw-r--r--Correct-MOC-path.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/Correct-MOC-path.patch b/Correct-MOC-path.patch
new file mode 100644
index 000000000000..8f1f4bc089de
--- /dev/null
+++ b/Correct-MOC-path.patch
@@ -0,0 +1,13 @@
+diff --git a/Telegram/gyp/qt.gypi b/Telegram/gyp/qt.gypi
+index 897cfa69..5f55135e 100644
+--- a/Telegram/gyp/qt.gypi
++++ b/Telegram/gyp/qt.gypi
+@@ -223,7 +223,7 @@
+ '<(SHARED_INTERMEDIATE_DIR)/<(_target_name)/moc/moc_<(RULE_INPUT_ROOT).cpp',
+ ],
+ 'action': [
+- '<(qt_loc)/bin/moc<(exe_ext)',
++ '/usr/bin/moc<(exe_ext)',
+
+ # Silence "Note: No relevant classes found. No output generated."
+ '--no-notes',