diff --git a/toolkit/library/Makefile.in b/toolkit/library/Makefile.in index a7db916e4e8..3b00293b908 100644 --- a/toolkit/library/Makefile.in +++ b/toolkit/library/Makefile.in @@ -177,7 +177,7 @@ EXTRA_DSO_LDOPTS += $(NSPR_LIBS) ifeq ($(MOZ_WIDGET_TOOLKIT),cocoa) CXXFLAGS += $(TK_CFLAGS) -EXTRA_DSO_LDOPTS += \ +OS_LIBS += \ -framework SystemConfiguration \ -framework QuickTime \ -framework IOKit \ diff --git a/toolkit/library/libxul-config.mk b/toolkit/library/libxul-config.mk index 65cf38f5878..676daff934b 100644 --- a/toolkit/library/libxul-config.mk +++ b/toolkit/library/libxul-config.mk @@ -363,7 +363,7 @@ COMPONENT_LIBS += gkdebug endif ifeq ($(MOZ_WIDGET_TOOLKIT),cocoa) -EXTRA_DSO_LDOPTS += -framework OpenGL -lcups +OS_LIBS += -framework OpenGL -lcups endif EXTRA_DSO_LDOPTS += \