[FFmpeg-devel] [PATCH] Install .lib files in $libdir instead of $shlibdir
Diego Biurrun
diego
Wed Jun 13 00:30:52 CEST 2007
On Tue, Jun 12, 2007 at 06:35:43PM -0300, Ramiro Ribeiro Polla wrote:
> 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.
I don't like it. Give me a few more days to try to cook up something
more elegant.
Diego
More information about the ffmpeg-devel
mailing list