mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 21:31:04 +00:00
f38cdcfbf1
SxS assemblies do not obey the usual DLL search order. It will make it possible to load mozglue.dll from appdir even if the PreferSystem32Images mitigation is enabled and System32 has a random mozglue.dll.
23 lines
795 B
Makefile
23 lines
795 B
Makefile
#
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
# For FORCE_SHARED_LIB
|
|
include $(topsrcdir)/config/config.mk
|
|
|
|
ifeq (WINNT,$(OS_TARGET))
|
|
mozglue.def: mozglue.def.in $(GLOBAL_DEPS)
|
|
$(call py_action,preprocessor,$(if $(MOZ_REPLACE_MALLOC),-DMOZ_REPLACE_MALLOC) $(ACDEFINES) $< -o $@)
|
|
|
|
GARBAGE += mozglue.def
|
|
|
|
# Rebuild mozglue.dll if the manifest changes - it's included by mozglue.rc.
|
|
# (this dependency should really be just for mozglue.dll, not other targets)
|
|
# Note the manifest file exists in the tree, so we use the explicit filename
|
|
# here.
|
|
EXTRA_DEPS += mozglue.dll.manifest
|
|
endif
|
|
|
|
include $(topsrcdir)/mozglue/build/replace_malloc.mk
|