[x264-devel] [PATCH] configure: Add Cflags.private in pkgconfig for static linking

Brad Smith brad at comstyle.com
Fri Apr 22 06:36:49 UTC 2022


On 4/20/2022 3:41 PM, BugMaster wrote:
> On Wed, 20 Apr 2022 19:02:51 +0530, Biswapriyo Nath wrote:
>
>
> Hi.
>
> 1) There is no such thing as "Cflags.private" in standard pkg-config
> i.e. it is ignored even with --static option.
> Proof #1: https://gitlab.freedesktop.org/pkg-config/pkg-config/-/blob/master/parse.c#L972
> Proof #2: https://people.freedesktop.org/~dbn/pkg-config-guide.html#writing

OpenBSD's pkg-config implementation does not support this either. We try 
to follow standard
pkg-config as closely as possible.

> 2) Even if it was supported instead of [ "$shared" = "yes" ] condition
> should be: [ "$static" = "yes" ]
>
>
> _______________________________________________
> x264-devel mailing list
> x264-devel at videolan.org
> https://mailman.videolan.org/listinfo/x264-devel


More information about the x264-devel mailing list