[Ffmpeg-devel] [PATCH] Build Darwin dynamic/shared libraries
Dan Villiom Podlaski Christiansen
danchr
Fri Jul 15 14:30:18 CEST 2005
Dan Villiom Podlaski Christiansen wrote:
> Michael Niedermayer wrote:
>> then why not add another variable for that hardcoded dir?
>> hardcoded_libdir or
>> so?
>> putting DESTDIR before every occurance of libdir, bindir and mandir
>> is not acceptable
>>
>
> Why, may I ask? I used DESTDIR to follow the convention used by GNU
> autotools, so that FFmpeg nicely integrates with them. Very useful and
> neat for packagers and porters, IMHO.
Never mind, I figured out how to do a clean solution to this. Here's the
updated patch, which introduces a --install-prefix argument. I believe
the only outstanding issues are checking whether the -dylib_file parts
are necessary, and benchmarking to see if there is any performance
degradation. If there isn't it might make sense to default to
--enable-shared on Darwin. I'll post patches to attend to this, as well
as support for Mach-O binaries, later.
BTW, I think I noticed a slight inconsistency in the generation of the
pkg-config files: libdir is set to \${exec_prefix}/lib rather than the
$libdir which might have been passed to configure.
- Dan Christiansen
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ffmpeg-dynamic-darwin-6.diff
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20050715/250c16fd/attachment.asc>
More information about the ffmpeg-devel
mailing list