Skip to content

Conversation

@vanfanel
Copy link
Contributor

The cmake and pkg-config versions that are supposed to be used on a cross-compilation environment are the ones on the machine where the build is being done.

For example, by doing this while trying to cross-compile for aarch64:

CMAKE=$(cross_prefix)cmake
PKGCONFIG=$(cross_prefix)pkg-config

...we would be trying to use something like aarch64-linux-gnu-cmake and aarch64-linux-gnu-pkg-config which don't exist and don't have any sense: plain cmake and pkg-config are supposed to be used instead, even if the libs live under a foreign architecture rootfs.

@realnc realnc merged commit 479d7db into realnc:libretro Jun 2, 2025
1 of 6 checks passed
@vanfanel vanfanel deleted the fix_crosscompilation branch September 27, 2025 17:22
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.

2 participants