Skip to content

Commit

Permalink
Merge pull request #1467 from colincornaby/python-apple-silicon-rpath…
Browse files Browse the repository at this point in the history
…-fix

Adding missing rpath to Python on Apple Silicon
  • Loading branch information
Hoikas authored Sep 6, 2023
2 parents 085186d + 5fbd30a commit 4285442
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 7 deletions.
1 change: 0 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,6 @@ jobs:
brew install \
autoconf \
automake \
cairo \
libtool \
nasm \
qt@5
Expand Down
1 change: 0 additions & 1 deletion Scripts/Ports/python3-cairosvg/vcpkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
"dependencies": [
{
"name": "cairo",
"platform": "windows",
"default-features": false
},
"python3"
Expand Down
4 changes: 4 additions & 0 deletions Scripts/Triplets/arm64-macos-plasma.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,7 @@ if(PORT STREQUAL cairo)
set(VCPKG_LIBRARY_LINKAGE dynamic)
set(VCPKG_BUILD_TYPE release)
endif()

if(PORT STREQUAL python3)
set(VCPKG_CONFIGURE_MAKE_OPTIONS "LDFLAGS_NODIST=-rpath ${CURRENT_INSTALLED_DIR}/lib")
endif()
4 changes: 4 additions & 0 deletions Scripts/Triplets/universal-macos-plasma.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,7 @@ if(PORT STREQUAL cairo)
set(VCPKG_BUILD_TYPE release)
endif()

if(PORT STREQUAL python3)
set(VCPKG_CONFIGURE_MAKE_OPTIONS "LDFLAGS_NODIST=-rpath ${CURRENT_INSTALLED_DIR}/lib")
endif()

4 changes: 4 additions & 0 deletions Scripts/Triplets/x64-macos-plasma.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,7 @@ if(PORT STREQUAL cairo)
set(VCPKG_LIBRARY_LINKAGE dynamic)
set(VCPKG_BUILD_TYPE release)
endif()

if(PORT STREQUAL python3)
set(VCPKG_CONFIGURE_MAKE_OPTIONS "LDFLAGS_NODIST=-rpath ${CURRENT_INSTALLED_DIR}/lib")
endif()
5 changes: 0 additions & 5 deletions vcpkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,6 @@
"cairosvg": {
"description": "Installs a functional cairosvg Python module for the resource.dat generator.",
"dependencies": [
{
"name": "cairo",
"platform": "windows",
"default-features": false
},
{
"name": "python3-cairosvg",
"host": true
Expand Down

0 comments on commit 4285442

Please sign in to comment.