Missing dependencies on static libraries
Francois Gouget
fgouget at free.fr
Tue Nov 13 11:32:25 CST 2012
On Mon, 12 Nov 2012, Alexandre Julliard wrote:
[...]
> > Would somthing like the patch below be acceptable?
> > Should it be generalized to all the dependencies on uuid, dxguid, etc?
>
> In theory yes, but that would have to be auto-generated. In practice
> only strmbase should matter.
I'm not sure how to auto-generate it. Would something that looks like
this be ok:
In Makefile.in:
STATICIMPORTS = strmiids strmbase uuid
IMPORTS = $(STATICIMPORTS) ole32 advapi32
And in Makedll.rules.in:
$(MODULE).so: $(STATICIMPORTS:%=$(top_builddir)/dlls/%/lib%.a)
Or maybe:
$(MODULE).so: $(STATICIMPORTS:%=../dlls/%/lib%.a)
Or should explicit rules be added to the relevant makefiles by
update_makefiles() in tools/make_makefiles.
--
Francois Gouget <fgouget at free.fr> http://fgouget.free.fr/
In theory, theory and practice are the same, but in practice they're different.
More information about the wine-devel
mailing list