File tree Expand file tree Collapse file tree 5 files changed +18
-5
lines changed Expand file tree Collapse file tree 5 files changed +18
-5
lines changed Original file line number Diff line number Diff line change @@ -636,6 +636,13 @@ def test_rpath(
636
636
]
637
637
assert len (rpath_tags ) == 1
638
638
assert rpath_tags [0 ].rpath == "$ORIGIN"
639
+
640
+ def test_dependency_order (self , anylinux : AnyLinuxContainer , python : PythonContainer ) -> None :
641
+ policy = anylinux .policy
642
+
643
+ test_path = "/auditwheel_src/tests/integration/testrpath"
644
+
645
+ pass
639
646
640
647
def test_multiple_top_level (
641
648
self , anylinux : AnyLinuxContainer , python : PythonContainer
Original file line number Diff line number Diff line change 1
1
#include "b.h"
2
-
2
+ #include "c.h"
3
3
4
4
int fa (void ) {
5
- return 1 + fb ();
5
+ return 1 + fb () + fc () ;
6
6
}
Original file line number Diff line number Diff line change
1
+ int fc (void ) {
2
+ return 11 ;
3
+ }
Original file line number Diff line number Diff line change
1
+ int fb (void );
Original file line number Diff line number Diff line change 9
9
10
10
class BuildExt (build_ext ):
11
11
def run (self ) -> None :
12
- cmd = "gcc -fPIC -shared -o b/libb.so b/b.c"
12
+ cmd = "gcc -fPIC -shared -o c/libc.so c/c.c"
13
+ subprocess .check_call (cmd .split ())
14
+ cmd = "gcc -fPIC -shared -o b/libb.so b/b.c -Wl,-rpath=$ORIGIN/../c -Ic -Lc -lc"
13
15
subprocess .check_call (cmd .split ())
14
16
cmd = (
15
- "gcc -fPIC -shared -o a/liba.so "
17
+ "gcc -fPIC -shared -o a/liba.so a/a.c "
16
18
"-Wl,{dtags_flag} -Wl,-rpath=$ORIGIN/../b "
17
- "-Ib a/a.c -Lb -lb"
19
+ "-Ib -Lb -lb -Ic -Lc -lc "
18
20
).format (
19
21
dtags_flag = (
20
22
"--enable-new-dtags"
You can’t perform that action at this time.
0 commit comments