[FFmpeg-devel] [patch] do not run ldconfig for DESTDIR installs

Mike Frysinger vapier.adi
Sat Feb 16 03:24:17 CET 2008


running ldconfig when not installing into system paths can waste
significant cpu and i/o time.  DESTDIR is generally used in two
scenarios:
 - package maintainers installing into an empty tree for packaging
 - cross-compilers installing into a development tree
in neither of these scenarios does running ldconfig make sense nor is
it useful.  the paths the libraries get installed into are rarely (ive
never heard of a case) declared in the ldso's configuration file, so
running ldconfig doesnt actually accomplish the intended goal: getting
the newly installed ffmpeg libs into the cache and symlinks created.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ffmpeg-skip-ldconfig-for-destdir-install.patch
Type: text/x-patch
Size: 441 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080215/a730f32d/attachment.bin>



More information about the ffmpeg-devel mailing list