mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-25 15:56:00 +03:00
[PR #1399] [MERGED] build: Make sure pkg-config is configured correctly for macOS cross compile. #2087
Labels
No labels
Bloodborne
bug
contributor wanted
documentation
enhancement
frontend
good first issue
help wanted
linux
pull-request
question
release
verification progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/shadPS4#2087
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/shadps4-emu/shadPS4/pull/1399
Author: @squidbus
Created: 10/17/2024
Status: ✅ Merged
Merged: 10/17/2024
Merged by: @georgemoralis
Base:
main← Head:fix-macos-cross📝 Commits (1)
7abf3e9build: Make sure pkg-config is configured correctly for macOS cross compile.📊 Changes
1 file changed (+7 additions, -1 deletions)
View changed files
📝
CMakeLists.txt(+7 -1)📄 Description
pkg-configdoes not by itself handle cross compilation situations. Since compiling for macOS x86_64 from ARM64 is very common, we need to handle this by configuring the right environment variables to make sure the build does not break by simply havingpkg-configinstalled.This only applies to compiling for x86_64 macOS from ARM64 macOS.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.