malloc: Do not compile mcheck-init.o as libc module

Otherwise, this will lead to a link failure because the reference
to mcheck is hidden.
This commit is contained in:
Florian Weimer 2017-10-16 20:50:04 +02:00
parent 3480ddc40b
commit d8287b36ab
2 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2017-10-16 Florian Weimer <fweimer@redhat.com>
* malloc/Makefile (others-extras): Set to mcheck-init.o.
2017-10-16 Carlos O'Donell <carlos@redhat.com>
* include/shlib-compat.h (compat_symbol_reference): Update

View File

@ -100,6 +100,7 @@ LDFLAGS-tst-mallocstate = -rdynamic
# These should be removed by `make clean'.
extra-objs = mcheck-init.o libmcheck.a
others-extras = mcheck-init.o
# Include the cleanup handler.
aux := set-freeres thread-freeres