Skip to content

Commit

Permalink
update pkg-config to sysroot variable
Browse files Browse the repository at this point in the history
Signed-off-by: Tonis Tiigi <[email protected]>
  • Loading branch information
tonistiigi committed May 5, 2021
1 parent e3d6e5b commit 95fac1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/xx-cc
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,7 @@ EOT

cat <<EOT >/usr/bin/${target}-pkg-config
#!/usr/bin/env sh
export PKG_CONFIG_PATH=/${target}/usr/lib/pkgconfig
export PKG_CONFIG_SYSROOT_DIR=/${target}
exec pkg-config "\$@"
EOT
chmod +x /usr/bin/${target}-pkg-config
Expand Down

0 comments on commit 95fac1d

Please sign in to comment.