[Fontconfig] how to read config file from current dir (relative to a binary using the lib)

Helmut Tessarek ml at evermeet.cx
Thu Aug 30 15:11:34 PDT 2012


On 29.08.12 4:41 , Raimund Steger wrote:
> Helmut Tessarek wrote:
>> [...]
>>
>> I'm just wondering. How can my patch work, if you didn't link it statically?
>> The entire setenv thingy is conditional:
>>
>> #if CONFIG_STATIC
> 
> I believe this only indicates whether libav*.a files are generated and is
> always enabled unless '--disable-static' was specified. It does not reflect
> the linkage of the ffmpeg binary and/or its prerequisites.

If you use --enable-static in the configure script of ffmpeg, then
CONFIG_STATIC is 1, otherwise it is 0.

Cheers,
  Helmut


More information about the Fontconfig mailing list