[FFmpeg-devel] [PATCH] Add versioning information to dlls

Jeremy Kolb jkolb
Thu May 29 15:42:32 CEST 2008


Diego Biurrun wrote:
>>>> --- subdir.mak	(revision 13216)
>>>> +++ subdir.mak	(working copy)
>>>> @@ -27,7 +27,9 @@
>>>>  
>>>> +$(SUBDIR)$(SLIB_EXTRA_OBJS): $(SLIB_EXTRA_DEP)
>>>>         
>>> I think you could just generate a proper .d file from the .rco file and
>>> be done with it.  This would simplify things considerably.
>>>       
>> How do you mean?  What are .d files?  How do I do that?
>>     
>
> The .d files record dependency information.  Look around in your FFmpeg
> tree, it should be full of them.  Take a look at common.mak to see how
> they are created.
>
>   
They are created via gcc, I don't see how I can create them from .rc 
files unless I output them by hand during configure.
>>>> -$(SUBDIR)$(SLIBNAME_WITH_MAJOR): $(OBJS)
>>>> +$(SUBDIR)$(SLIBNAME_WITH_MAJOR): $(OBJS) $(SUBDIR)$(SLIB_EXTRA_OBJS)
>>>>         
>>> Alternatively, add that extra object to OBJS.  This should make things
>>> simpler.  It also likely fixes the build failures we were seeing on some
>>> platforms.
>>>       
>> Ok, which one should I do?  The .d file or add the extra object?
>>     
>
> Both.  The issues are separate.
>   
Ok, thanks for the clarification.

Jeremy





More information about the ffmpeg-devel mailing list