Bug 1749147 - Part 3: Replace TK_FLAGS/TK_LIBS with MOZ_GTK3_FLAGS/MOZ_GTK3_LIBS. r=frg
authorBill Gianopoulos <wgianopoulos@gmail.com>
Fri, 24 Dec 2021 14:07:51 +0000
changeset 34704 596f0247d56a835d023b3833715663ae73e8a147
parent 34703 f99e21b1aa5da3d26977f7a6796107fabfe9ec4b
child 34705 acf27c44e7a0e10897d24be4a5027cd40f1fc232
push id19534
push userfrgrahl@gmx.net
push dateSat, 08 Jan 2022 23:07:22 +0000
treeherdercomm-central@acf27c44e7a0 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersfrg
bugs1749147, 1747165
Bug 1749147 - Part 3: Replace TK_FLAGS/TK_LIBS with MOZ_GTK3_FLAGS/MOZ_GTK3_LIBS. r=frg Port Bug 1747165 "Move Gtk+3 checks to python configure".
suite/components/shell/moz.build
--- a/suite/components/shell/moz.build
+++ b/suite/components/shell/moz.build
@@ -38,11 +38,12 @@ if SOURCES:
     ]
 
 EXTRA_JS_MODULES += [
     "ShellService.jsm",
 ]
 
 FINAL_LIBRARY = "suite"
 
-CXXFLAGS += CONFIG["TK_CFLAGS"]
+if CONFIG["MOZ_WIDGET_TOOLKIT"] == "gtk":
+    CXXFLAGS += CONFIG["MOZ_GTK3_CFLAGS"]
 
 JAR_MANIFESTS += ["jar.mn"]