qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH V17 04/10] libqblock: build: add rule for libqbl


From: Wenchao Xia
Subject: Re: [Qemu-devel] [PATCH V17 04/10] libqblock: build: add rule for libqblock.la
Date: Fri, 01 Feb 2013 10:35:20 +0800
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/20130107 Thunderbird/17.0.2

于 2013-1-31 22:36, Stefan Hajnoczi 写道:
On Thu, Jan 31, 2013 at 04:53:44PM +0800, Wenchao Xia wrote:
diff --git a/libqblock/Makefile b/libqblock/Makefile
index 8173da7..a6be721 100644
--- a/libqblock/Makefile
+++ b/libqblock/Makefile
@@ -1,4 +1,29 @@
  all: libqblock.la

-libqblock.la:
-       @true
+# objects linked into a shared library, built with libtool with -fPIC if 
required
+libqblock-obj-y = libqblock/libqblock.o libqblock/libqblock-error.o
+libqblock-obj-y += $(filter-out stubs/set-fd-handler.o, $(stub-obj-y))

I guess you will reimplement the function yourself later?  Please
include a comment explaining the reason for making this exception.


  qemu_set_fd_handler2() in iohandler.c in block-obj-y conflict
with the symbol in stubs/set-fd-handler.c, which can be solved
in qemu-img by linking .a files, but error in linking with .lo
files, so filter it out. Yes, a comment should be added here.



--
Best Regards

Wenchao Xia




reply via email to

[Prev in Thread] Current Thread [Next in Thread]