[FFmpeg-devel] [PATCH] Add SLIB_UNINSTALL_EXTRA_CMD to build system.

Dave Yeo daveryeo
Sun Oct 14 07:37:38 CEST 2007


On 10/13/07 02:21 am, Diego Biurrun wrote:
> On Tue, Oct 09, 2007 at 07:14:47PM -0700, Dave Yeo wrote:
>> ...
...
>> +    SLIB_UNINSTALL_EXTRA_CMD="rm -f \$(SHLIBDIR)/\$(SLIBNAME_WITH_MAJOR:\$(SLIBSUF)=.lib)"
>>      SHFLAGS="-shared -Wl,--output-def,\$(@:${SLIBSUF}=.def),--out-implib,lib\$(SLIBNAME:\$(SLIBSUF)=.dll.a) -Wl,--enable-runtime-pseudo-reloc -Wl,--enable-auto-image-base"
> 
> This does not apply anymore.  Also, you can save some of the backslashes
> by using single quotes.
> 
>> --- common.mak	(revision 10693)
>> +++ common.mak	(working copy)
>> @@ -97,6 +97,7 @@
>>  	       "$(SHLIBDIR)/$(SLIBNAME)"            \
>>  	       "$(SHLIBDIR)/$(SLIBNAME_WITH_VERSION)"
>>  	-rm -f "$(LIBDIR)/$(LIB)"
>> +	$(SLIB_UNINSTALL_EXTRA_CMD)
> 
> This belongs one line up along with the other shared lib uninstall
> stuff.
> 
> Looks OK otherwise.
> 
> Diego

Ok I've left the mingw part out though once the windows people decide 
how to handle installing the import libs etc they will most likely want 
to use it.
Dave
-------------- next part --------------
A non-text attachment was scrubbed...
Name: uninstall.diff
Type: text/x-patch
Size: 957 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20071013/a23857e6/attachment.bin>



More information about the ffmpeg-devel mailing list