Jakob Bornecrantz <ja...@vmware.com> writes:

>> +libws_loader_la_LIBADD = \
>> +    $(top_srcdir)/src/gallium/winsys/sw/null/libws_null.la
>> +
>> +if HAVE_XLIB_LOADER_GALLIUM
>> +libws_loader_la_LIBADD += \
>> +    $(top_srcdir)/src/gallium/winsys/sw/xlib/libws_xlib.la
>> +AM_CFLAGS += -DHAVE_WS_LOADER_XLIB
>> +endif
>
> Ah so this explains the not sorting winsys dir, this shouldn't
> be done on the winsys this is for the target to keep track of.
> Just as it is the targets job to link libdrm.
>

I had the feeling that letting a winsys link to another wouldn't be much
of a problem, especially if all the winsys build system is going to be
converted to automake and we're going to get a more automated dependency
tracking.  But, if we don't want to relax that restriction anyway, the
other possibility would be to define a GALLIUM_WS_LOADER_LIBS variable
at configure time containing all the objects a target has to pull in
order to link to the winsys loader.  Would that be OK with you?

> Cheers, Jakob.

Attachment: pgpe9nD2x8gZy.pgp
Description: PGP signature

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to