diff --git a/toolkit/library/Makefile.in b/toolkit/library/Makefile.in index 84470f272bc..11251ce7a0d 100644 --- a/toolkit/library/Makefile.in +++ b/toolkit/library/Makefile.in @@ -117,6 +117,10 @@ EXTRA_DSO_LDOPTS += \ $(MOZ_COMPONENT_LIBS) \ $(MOZ_JS_LIBS) \ $(NULL) + +ifdef MOZ_ENABLE_GTK +EXTRA_DSO_LDOPTS += -L$(DIST)/lib -lgtksuperwin +endif endif DEFINES += -DIMPL_XREAPI