Skip to content

Commit 254acf8

Browse files
committed
Set relative rpath for libbz2support
1 parent 22ee94e commit 254acf8

File tree

1 file changed

+2
-1
lines changed
  • graalpython/com.oracle.graal.python.cext

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
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)