[Ffmpeg-devel] Re: [RFC] ffmpeg-windows mailinglist?

Måns Rullgård mru
Thu Aug 3 23:08:51 CEST 2006


V?ctor Paesa <wzrlpy at arsystel.com> writes:

>> On Thu, Aug 03, 2006 at 07:51:16PM +0200, V?ctor Paesa wrote:
>>> >
>>> > So where is the problem?  The command
>>> >
>>> >   ln -sf avutil-49.0.0.dll "C:\Program Files/FFmpeg/lib/avutil-49.dll"
>>> >
>>> > creates a link pointing to avutil-49.0.0.dll with the name
>>> > "C:\Program Files/FFmpeg/lib/avutil-49.dll" and
>>> > "C:\Program Files/FFmpeg/lib/avutil-49.0.0.dll" was created by the
>>> > install command ...
>>>
>>> The problem is that "ln" is emulated in MinGW by "cp", so you're
>>> really attempting
>>>
>>> cp -f \
>>> /home/wzrlpy/src/FFMpeg-20060802-5893/ffmpeg/libavutil/avutil-49.0.0.dll
>>> \
>>> "C:\Program Files/FFmpeg/lib/avutil-49.dll"
>>>
>>> and that fails, because there is no
>>> /home/wzrlpy/src/FFMpeg-20060802-5893/ffmpeg/libavutil/avutil-49.0.0.dll
>>
>> OK, try the attached patch, please.
>
> Thanks, I'm a bit afar from my MinGW box now, I'll try tomorrow, but
> I believe make launches a separate shell per each line, it should be more
> alike to this:
>
> + ( cd "$(shlibdir)" ;\
    ^ not needed       ^ should be &&
> + install $(INSTALLSTRIP) -m 755 $(SLIBNAME) $(SLIBNAME_WITH_VERSION) ;\
> + ln -sf $(SLIBNAME_WITH_VERSION) $(SLIBNAME_WITH_MAJOR) ;\
> + ln -sf $(SLIBNAME_WITH_VERSION) $(SLIBNAME) )
>
> Regards,
> V?ctor Paesa
>

-- 
M?ns Rullg?rd
mru at inprovide.com




More information about the ffmpeg-devel mailing list