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(
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 :
641+ policy = anylinux .policy
642+
643+ test_path = "/auditwheel_src/tests/integration/testrpath"
644+
645+ pass
639646
640647 def test_multiple_top_level (
641648 self , anylinux : AnyLinuxContainer , python : PythonContainer
Original file line number Diff line number Diff line change 11#include "b.h"
2-
2+ #include "c.h"
33
44int fa (void ) {
5- return 1 + fb ();
5+ return 1 + fb () + fc () ;
66}
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 99
1010class BuildExt (build_ext ):
1111 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"
1315 subprocess .check_call (cmd .split ())
1416 cmd = (
15- "gcc -fPIC -shared -o a/liba.so "
17+ "gcc -fPIC -shared -o a/liba.so a/a.c "
1618 "-Wl,{dtags_flag} -Wl,-rpath=$ORIGIN/../b "
17- "-Ib a/a.c -Lb -lb"
19+ "-Ib -Lb -lb -Ic -Lc -lc "
1820 ).format (
1921 dtags_flag = (
2022 "--enable-new-dtags"
You can’t perform that action at this time.
0 commit comments