Re: [Qemu-devel] [PATCH] build: list libraries after objects, for proper linkage

2011-08-22 Thread Anthony Liguori
On 08/14/2011 08:31 AM, Diego Elio Pettenò wrote: Without this change, when using -Wl,--as-needed with GNU linker, the libraries would be discarded. Signed-off-by: Diego Elio Pettenò Applied. Thanks. Regards, Anthony Liguori --- libcacard/Makefile |4 ++-- 1 files changed, 2 insert

Re: [Qemu-devel] [PATCH] build: list libraries after objects, for proper linkage

2011-08-14 Thread Alon Levy
On Sun, Aug 14, 2011 at 03:31:24PM +0200, Diego Elio Pettenò wrote: > Without this change, when using -Wl,--as-needed with GNU linker, the > libraries would be discarded. > Thanks, my bad, didn't know about this switch, makes perfect sense, will add to the pull request (I should send one by the e

[Qemu-devel] [PATCH] build: list libraries after objects, for proper linkage

2011-08-14 Thread Diego Elio Pettenò
Without this change, when using -Wl,--as-needed with GNU linker, the libraries would be discarded. Signed-off-by: Diego Elio Pettenò --- libcacard/Makefile |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libcacard/Makefile b/libcacard/Makefile index 5cd7594..3ea845f 1