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

Re: [Xen-devel] Are xen.git/tools/pkg-config/*.pc used anywere/working ?



On Thu, Feb 21, 2019 at 06:16:43PM +0100, Juergen Gross wrote:
> On 21/02/2019 18:11, Juergen Gross wrote:
> > On 21/02/2019 17:12, Wei Liu wrote:
> >> On Mon, Jan 21, 2019 at 06:28:34PM +0000, Anthony PERARD wrote:
> >>> Hi,
> >>>
> >>> I've been trying to use the pkg-config files generated in
> >>> tools/pkg-config/ when building QEMU, but those files only contains
> >>> "-Wl,-rpath-link" and "-l" options. At link times, the linker just
> >>> doesn't find the *.so.
> >>>
> >>> Are those *.pc actually used anywhere, and working for someone? QEMU
> >>> certainly can't use them. (The one that end-up been installed on the
> >>> system works fine.)
> >>>
> >>> I think that the file generated in tools/pkg-config/*.pc should also
> >>> have the -L options. To me, -rpath-link is only useful for the
> >>> dependency of a .so (e.g. xencall been linked against xentoollog, but
> >>> qemu doesn't need to link against it).
> >>
> >> Good point.
> >>
> >> Juergen? Presumably you had those files working when you wrote those
> >> patches?
> > 
> > I think they did.
> > 
> > Maybe I was fooled somehow? But AFAIR I did some iterations until they
> > worked for me.
> 
> Oh, I have just found an old patch lying around adding the "-L" option
> to the local pkg-config files, as qemu needs those for building... :-)
> 
> I'll post it.

Nice. :-)

Wei.

> 
> 
> Juergen
> 
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxxx
> https://lists.xenproject.org/mailman/listinfo/xen-devel

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.