On 08.09.2011 02:40, Norbert Thiebaud wrote: > On Wed, Sep 7, 2011 at 7:23 PM, Norbert Thiebaud <nthieb...@gmail.com> wrote: >> >> I suppose that to be perfect that should bu tuck under >> gb_LinkTarget_use_Mesa in RepositoryExternal.mk to properly deal with >> the case when using system-mesa vs internal-mesa... >> >> and then just add Mesa to the list of 'use_externals' of OGLTrans ... >> > > BTW. bjorn, michael, > > How should we deal with optional 'external' Module like that ? > just wrap the whole 'Module_Mesa.mk' into a ifeq ($(SYSTEM_MESA_HEADERS),NO) ?
sounds reasonable. this could cause warning that no target is registered or something like that, but a module with only $(eval $(call gb_Module_Module,foo)) is valid IIRC. > Norbert _______________________________________________ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice