Skip to content

Commit 4272b53

Browse files
committed
fix
1 parent 70e94a1 commit 4272b53

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

tests/integration/test_manylinux.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -636,14 +636,14 @@ def test_rpath(
636636
]
637637
assert len(rpath_tags) == 1
638638
assert rpath_tags[0].rpath == "$ORIGIN"
639-
640-
def test_dependency_order(self, anylinux: AnyLinuxContainer, python: PythonContainer) -> None:
639+
640+
def test_dependency_order(
641+
self, anylinux: AnyLinuxContainer, python: PythonContainer
642+
) -> None:
641643
policy = anylinux.policy
642644

643645
test_path = "/auditwheel_src/tests/integration/testrpath"
644646

645-
pass
646-
647647
def test_multiple_top_level(
648648
self, anylinux: AnyLinuxContainer, python: PythonContainer
649649
) -> None:

tests/integration/testrpath/c/c.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
int fb(void);
1+
int fc(void);

tests/integration/testrpath/setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ class BuildExt(build_ext):
1111
def run(self) -> None:
1212
cmd = "gcc -fPIC -shared -o c/libc.so c/c.c"
1313
subprocess.check_call(cmd.split())
14-
cmd = "gcc -fPIC -shared -o b/libb.so b/b.c -Wl,-rpath=$ORIGIN/../c -Ic -Lc -lc"
14+
cmd = "gcc -fPIC -shared -o b/libb.so b/b.c -Ic -Lc -lc"
1515
subprocess.check_call(cmd.split())
1616
cmd = (
1717
"gcc -fPIC -shared -o a/liba.so a/a.c "
18-
"-Wl,{dtags_flag} -Wl,-rpath=$ORIGIN/../b "
18+
"-Wl,{dtags_flag} -Wl,-rpath=$ORIGIN/../b -Wl,-rpath=$ORIGIN/../c "
1919
"-Ib -Lb -lb -Ic -Lc -lc"
2020
).format(
2121
dtags_flag=(

0 commit comments

Comments
 (0)