зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1172668 - Unbreak DMD on OS X after bug 1168719. r=gps
Bug 1168719 added a generic replace malloc library which name happened to be the same as the existing dummy library used to link replace malloc on OSX. Change the name of that dummy library.
This commit is contained in:
Родитель
d2f37fb969
Коммит
68221d7d35
|
@ -9,6 +9,6 @@ SOURCES += [
|
|||
'dummy_replace_malloc.c',
|
||||
]
|
||||
|
||||
SharedLibrary('replace_malloc')
|
||||
SharedLibrary('dummy_replace_malloc')
|
||||
|
||||
DISABLE_STL_WRAPPING = True
|
||||
|
|
|
@ -25,6 +25,8 @@ ifneq ($(MOZ_REPLACE_MALLOC_LINKAGE),compiler support)
|
|||
OS_LDFLAGS += -flat_namespace
|
||||
endif
|
||||
ifeq ($(MOZ_REPLACE_MALLOC_LINKAGE),dummy library)
|
||||
OS_LDFLAGS += -Wl,-weak_library,$(DEPTH)/memory/replace/dummy/$(DLL_PREFIX)replace_malloc$(DLL_SUFFIX)
|
||||
OS_LDFLAGS += -Wl,-weak_library,$(DEPTH)/memory/replace/dummy/$(DLL_PREFIX)dummy_replace_malloc$(DLL_SUFFIX)
|
||||
endif
|
||||
|
||||
EXTRA_DEPS += $(topsrcdir)/mozglue/build/replace_malloc.mk
|
||||
endif
|
||||
|
|
Загрузка…
Ссылка в новой задаче