Skip to content

Commit cce6e8f

Browse files
[GR-28219] [GR-28167] Set relative rpath for libbz2support.
PullRequest: graalpython/1485
2 parents 22ee94e + b59798f commit cce6e8f

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

ci.jsonnet

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{ "overlay": "d5989079763330598ccb0183468cac6c2e97b054" }
1+
{ "overlay": "0bc737f45c53499db3d967777b1303fe798dbee7" }

graalpython/com.oracle.graal.python.cext/setup.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,8 @@ def build(capi_home):
477477
build_nativelibsupport(capi_home,
478478
subdir="bz2",
479479
libname="libbz2support",
480-
deps=[Bzip2Depedency("bz2", "bzip2==1.0.8", "BZIP2")])
480+
deps=[Bzip2Depedency("bz2", "bzip2==1.0.8", "BZIP2")],
481+
extra_link_args=["-Wl,-rpath,%s/lib/%s/" % (relative_rpath, SOABI)])
481482
build_libpython(capi_home)
482483
build_builtin_exts(capi_home)
483484
finally:

0 commit comments

Comments
 (0)