[FFmpeg-devel] [PATCH] Install .lib files in $libdir instead of $shlibdir
Ramiro Ribeiro Polla
ramiro
Tue Jun 12 23:35:43 CEST 2007
Ramiro Polla wrote:
> Diego Biurrun escreveu:
>
>> On Sun, Jun 10, 2007 at 03:29:18AM -0300, Ramiro Polla wrote:
>>
>>
>>> $subj
>>>
>>> When $shlibdir was changed to $bindir, MSVC++ .lib files started going
>>> there too, but they're better off in $libdir.
>>>
>>> --- configure.orig Sun Jun 10 06:25:00 2007
>>> +++ configure Sun Jun 10 06:25:22 2007
>>> @@ -1176,7 +1176,7 @@
>>> - SLIB_INSTALL_EXTRA_CMD="-install -m 644 \$(SLIBNAME_WITH_MAJOR:\$(SLIBSUF)=.lib) \"\$(shlibdir)/\$(SLIBNAME_WITH_MAJOR:\$(SLIBSUF)=.lib)\""
>>> + SLIB_INSTALL_EXTRA_CMD="-install -d \"\$(libdir)\" && install -m 644 \$(SLIBNAME_WITH_MAJOR:\$(SLIBSUF)=.lib) \"\$(libdir)/\$(SLIBNAME_WITH_MAJOR:\$(SLIBSUF)=.lib)\""
>>>
>>>
>> Why not use LIB_INSTALL_EXTRA_COMMAND?
>>
>>
>>
>
> The .lib files are generated for shared libraries, so
> SLIB_INSTALL_EXTRA_CMD gets used instead of LIB_INSTALL_EXTRA_CMD.
>
>
I'll apply this tomorrow if there are no objections.
Ramiro Polla
More information about the ffmpeg-devel
mailing list