[FFmpeg-devel] [PATCH] Fix pkg-config -uninstalled.pc when static libraries are disabled.

Diego 'Flameeyes' Pettenò flameeyes
Wed Oct 1 16:05:05 CEST 2008

M?ns Rullg?rd <mans at mansr.com> writes:

> Is there some (stupid, naturally (this is pkgconfig after all)) reason why
> a simple -L${libdir} -l${shortname} won't work with static libs?

No reason, but I tried to understand the intention of the original
author of that piece of code: if both static and shared are built,
-L${libdir} -l${shortname} will link to the shared library by default --
to me, that's perfectly fine, but I guess for someone might not be a
nice behaviour change.

If you prefer for it to be done that way, it would also make it look

Diego "Flameeyes" Petten?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20081001/808dc228/attachment.pgp>

More information about the ffmpeg-devel mailing list