Skip to content

Commit 40ced06

Browse files
committed
CI/builds: try fixing macOS rpath
1 parent b98362d commit 40ced06

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/builds.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ on:
1313

1414
jobs:
1515
build_linux:
16+
if: false
1617
name: 'Linux ${{ matrix.arch }} (${{ matrix.manylinux-base }})'
1718
continue-on-error: false
1819
strategy:

dss_build.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,9 @@ def process_header(src, extern_py=False, implement_py=False, prefix='', flags=No
128128
# Due to some specifics on Windows, we need to skip the lib included via pragma
129129
python3xx_lib = f"python{sys.version_info.major}{sys.version_info.minor}.lib"
130130
extra['extra_link_args'] = [f"/NODEFAULTLIB:{python3xx_lib}"]
131+
elif sys.platform == 'darwin':
132+
extra['extra_link_args'] = ["-Wl,-rpath,@loader_path/."]
133+
131134

132135
ffi_builders = {}
133136

0 commit comments

Comments
 (0)