diff --git a/toolkit/library/Makefile.in b/toolkit/library/Makefile.in index ee3fad65c71..fbe07c8bfa5 100644 --- a/toolkit/library/Makefile.in +++ b/toolkit/library/Makefile.in @@ -401,6 +401,13 @@ endif EXTRA_DSO_LDOPTS += $(call EXPAND_LIBNAME_PATH,gkmedias,$(DIST)/lib) +ifeq ($(OS_ARCH),WINNT) +EXTRA_DSO_LDOPTS += \ + delayimp.lib \ + -DELAYLOAD:gkmedias.dll \ + $(NULL) +endif + ifdef MOZ_SYDNEYAUDIO ifeq ($(OS_ARCH),Linux) EXTRA_DSO_LDOPTS += $(MOZ_ALSA_LIBS) diff --git a/xpcom/stub/Makefile.in b/xpcom/stub/Makefile.in index 696adf129df..8a5675aa37d 100644 --- a/xpcom/stub/Makefile.in +++ b/xpcom/stub/Makefile.in @@ -103,12 +103,6 @@ ifdef MOZ_JPROF DEPENDENT_LIBS_LIST += $(DLL_PREFIX)jprof$(DLL_SUFFIX) endif -ifeq (WINNT,$(OS_TARGET)) -ifneq (,$(MOZ_SYDNEYAUDIO)$(MOZ_WEBM)$(MOZ_OGG)$(MOZ_TREMOR)$(MOZ_VORBIS)) -DEPENDENT_LIBS_LIST += $(DLL_PREFIX)gkmedias$(DLL_SUFFIX) -endif -endif - ifeq (bundle,$(MOZ_FS_LAYOUT)) EXTRA_DSO_LDOPTS += $(DIST)/bin/XUL DEPENDENT_LIBS_LIST += XUL