rules.mak: Don't extract libs from .mo-libs in link command
commit5b1b6dbd94e2e2e98920f886cb32fcf4a1520b50
authorFam Zheng <famz@redhat.com>
Wed, 27 Jul 2016 06:26:15 +0000 (27 14:26 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 13 Sep 2016 17:08:44 +0000 (13 19:08 +0200)
tree119b63239b5ae98a12f57615ddf8dfb58d21dd3f
parentb34de45fc40d01c14b31d3a682e284180a2ed8c5
rules.mak: Don't extract libs from .mo-libs in link command

For module build, .mo objects are passed to LINK and consumed in
process-archive-undefs. The reason behind that is documented in the
comment above process-archive-undefs.

Similarly, extract-libs should be called with .mo filtered out too.
Otherwise, the .mo-libs are added to the link command incorrectly,
spoiling the purpose of modularization.

Currently we don't have any .mo-libs usage, but it will be used soon
when we modularize more multi-source objects, like sdl and gtk.

Reported-by: Colin Lord <clord@redhat.com>
Signed-off-by: Fam Zheng <famz@redhat.com>
Message-Id: <1469600777-30413-2-git-send-email-famz@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
rules.mak