Skip to content

pkg-config: use prefix/libdir/includedir for pc#200

Open
1480c1 wants to merge 1 commit intoccxvii:masterfrom
1480c1:pkgconfig/prefix
Open

pkg-config: use prefix/libdir/includedir for pc#200
1480c1 wants to merge 1 commit intoccxvii:masterfrom
1480c1:pkgconfig/prefix

Conversation

@1480c1
Copy link
Copy Markdown

@1480c1 1480c1 commented May 8, 2025

Allows for pkg-config to reinterpret paths easier, for example on Windows.

An example where this is useful is with mpv, as meson will pull the ldflags and cflags from the pkg-config file and has -L/prefix/lib -lmujs in the linking command, but with this change, pkgconf can reinterpret the prefix and change it appropriately to something like -LD:/prefix/lib -lmujs

Allows for pkg-config to reinterpret paths easier, for example on Windows.

Signed-off-by: Christopher Degawa <ccom@randomderp.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant