mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-20 16:55:40 +00:00
32ecc64ada
Because one entry point is simpler than two, we make replace_init fulfil both the roles of replace_init and replace_get_bridge. Note this should be binary compatible with older replace-malloc libraries, albeit not detecting their bridge (and with the previous change, they do not register anyways). So loading older replace-malloc libraries should do nothing, but not crash in awful ways. --HG-- extra : rebase_source : aaf83e706ee34f45cfa75551a2f0998e5c5b8726
8 lines
291 B
Makefile
8 lines
291 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/.
|
|
|
|
ifeq (Darwin_1,$(OS_TARGET)_$(MOZ_REPLACE_MALLOC))
|
|
MK_LDFLAGS = -Wl,-U,_replace_init
|
|
endif
|