[FFmpeg-trac] #4183(build system:closed): --shlibdir does not default to --libdir

FFmpeg trac at avcodec.org
Wed Jan 28 14:58:25 CET 2015


#4183: --shlibdir does not default to --libdir
-------------------------------------+-------------------------------------
             Reporter:  JohnCC       |                    Owner:
                 Type:  defect       |                   Status:  closed
             Priority:  normal       |                Component:  build
              Version:  git-master   |  system
             Keywords:               |               Resolution:  fixed
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  0
-------------------------------------+-------------------------------------

Comment (by jstrom):

 This fix introduces a problem:

 {{{
 LIBDIR=$(DESTDIR)${prefix}/lib
 SHLIBDIR=$(DESTDIR)${LIBDIR}
 }}}

 This means SHLIBDIR will expand DESTDIR twice.

 For example, make install DESTDIR=/tmp/ffmpeg-install gives the following
 results
 {{{
 /tmp/ffmpeg-install/tmp/ffmpeg-
 install/usr/local/lib/libavcodec.56.20.100.dylib
 vs
 /tmp/ffmpeg-install/usr/local/bin/ffmpeg


 }}}

--
Ticket URL: <https://trac.ffmpeg.org/ticket/4183#comment:6>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list