[FFmpeg-devel] [PATCH] Install the mingw import libraries, too

Ramiro Polla ramiro.polla
Tue Jul 14 00:00:02 CEST 2009


2009/7/13 M?ns Rullg?rd <mans at mansr.com>:
> Martin Storsj? <martin at martin.st> writes:
>
>> On Mon, 13 Jul 2009, M?ns Rullg?rd wrote:
>>
>>> >> 2) Creating both SHLIBDIR and LIBDIR in install-lib$(NAME)-shared
>>> >
>>> > Not in the common code. Maybe add a mkdir to SLIB_INSTALL_EXTRA_CMD.
>>> > Mans, what do you think?
>>>
>>> That could work.
>>
>> Ok, the attached patch does this, but using install instead of mkdir for
>> stylistic reasons.
>>
>> // Martin
>>
>> diff --git a/configure b/configure
>> index 30e11be..9ced1a3 100755
>> --- a/configure
>> +++ b/configure
>> @@ -1710,7 +1710,9 @@ case $target_os in
>> ? ? ? ? ?SLIBNAME_WITH_MAJOR='$(SLIBPREF)$(FULLNAME)-$(LIBMAJOR)$(SLIBSUF)'
>> ? ? ? ? ?SLIB_EXTRA_CMD='-lib.exe /machine:$(LIBTARGET) /def:$$(@:$(SLIBSUF)=.def) /out:$(SUBDIR)$(SLIBNAME_WITH_MAJOR:$(SLIBSUF)=.lib)'
>> ? ? ? ? ?SLIB_INSTALL_EXTRA_CMD='-install -m 644 $(SUBDIR)$(SLIBNAME_WITH_MAJOR:$(SLIBSUF)=.lib) "$(SHLIBDIR)/$(SLIBNAME:$(SLIBSUF)=.lib)"; \
>> - ? ? ? ? ? ?install -m 644 $(SUBDIR)$(SLIBNAME_WITH_MAJOR:$(SLIBSUF)=.lib) "$(SHLIBDIR)/$(SLIBNAME_WITH_MAJOR:$(SLIBSUF)=.lib)"'
>> + ? ? ? ? ? ?install -m 644 $(SUBDIR)$(SLIBNAME_WITH_MAJOR:$(SLIBSUF)=.lib) "$(SHLIBDIR)/$(SLIBNAME_WITH_MAJOR:$(SLIBSUF)=.lib)"; \
>> + ? ? ? ? ? ?install -d "$(LIBDIR)"; \
>> + ? ? ? ? ? ?install -m 644 $(SUBDIR)lib$(SLIBNAME:$(SLIBSUF)=.dll.a) "$(LIBDIR)/lib$(SLIBNAME:$(SLIBSUF)=.dll.a)"'
>> ? ? ? ? ?SLIB_UNINSTALL_EXTRA_CMD='rm -f "$(SHLIBDIR)/$(SLIBNAME:$(SLIBSUF)=.lib)"'
>> ? ? ? ? ?SHFLAGS='-shared -Wl,--output-def,$$(@:$(SLIBSUF)=.def) -Wl,--out-implib,$(SUBDIR)lib$(SLIBNAME:$(SLIBSUF)=.dll.a) -Wl,--enable-runtime-pseudo-reloc -Wl,--enable-auto-image-base'
>> ? ? ? ? ?objformat="win32"
>
> Ramiro?

Thanks, applied.



More information about the ffmpeg-devel mailing list