Re: [PATCH] pkg-config: Add sysroot prefix
Eric Anholt <[email protected]>
| Newsgroups | gmane.comp.freedesktop.xcb |
|---|---|
| Message-ID | <[email protected]> |
Daniel Stone <daniels-ZGY8ohtN/[email protected]> writes: > xcb-proto's pkg-config file exports static file paths for where to find > its Python files and the XML definitions. > > When used to discover cflags, library paths, etc, pkg-config will > prepend ${PKG_CONFIG_SYSROOT_DIR}, if any, to those paths. This makes > the use of a sysroot prefix transparent to users. However, since it > doesn't know about paths in custom variables, it cannot automatically > prefix this. > > Adding ${pc_sysrootdir} to these absolute paths makes the behaviour > match, and XCB builds work out of the box in a sysroot. Reviewed-by: Eric Anholt <[email protected]> _______________________________________________ Xcb mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/xcb
signature.asc
(application/pgp-signature, 832 B)
-----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEE/JuuFDWp9/ZkuCBXtdYpNtH8nugFAlnVDRwACgkQtdYpNtH8 nujkVQ//f5Q0EC3F21OOtQeBdpadURb+C721LCQA6baon6ttS8Z+Mu3QV6yKgcQd fx7EPlWAf3okatVd4fVqt4YCnz8n7ZtreLprWShC03ZAAE9TcWzsfGi2sBv+6A1R +YQiEjwfCBC6Z2In/9gldE3TLaDbcAwHfsVmWq1AzBXdzdUJbP9EUFG3W0/GcS5n gd+2muHctl0JtjqaXi6HWo2qLBkSC0FsER4IVpGtpj3wtw3QAp2Si4YW5z2tCnQ+ khdXwv4W9PL4JF/L/MTvZqCkr35FvFUyv4UdJhzjrpw9qEq5I6V3IvJoOUkoPECR 0uMRuyPsi+Q3kO3eSm5js9T3SanMCnw1usrhnxl8NY8/iD2aPmqSjh/1McRElJSn zudRPkwaBxIPieACz4g9jeEE0mcjkm459wTm8ekMKcrc9cv1BGWxYW/pToD31GVw wKYONYlXw7vNVDpcpYTvVQqURrStBss3UmusKUjHjrmcCpVgKLshM7VWG2EDxUpt Kl4ZF7rQkIxeMsmJt6vilqMkbERGxyUZu++JaiOX9TbCneCLUB7FRXP/yf/lkwlR TpVqqH3q2MvPcE4Ar3tY9gKFbK74qEALwLPF+SlKbsgwCZcfBjcdK3fojBOieA2E qP8+me3fVZ/PsowZpznCYN2XXExg3Eyn83j3SBNn+BfEhuowq7w= =CDuC -----END PGP SIGNATURE-----