Commit ddd4f82
committed
In python shlib probe, cater for OpenBSD, which omits the .so symlink.
Most Unix-oid platforms provide a symlink "libfoo.so" -> "libfoo.so.n.n"
to allow the linker to resolve a reference "-lfoo" to a version-numbered
shared library. OpenBSD has apparently hacked ld(1) to do this internally,
because there are no such symlinks to be found in their library
directories. Tweak the new code in PGAC_CHECK_PYTHON_EMBED_SETUP to cope.
Per buildfarm member curculio.1 parent eb3bc0b commit ddd4f82
2 files changed
+40
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
| 88 | + | |
88 | 89 | | |
89 | 90 | | |
90 | 91 | | |
| |||
98 | 99 | | |
99 | 100 | | |
100 | 101 | | |
| 102 | + | |
101 | 103 | | |
102 | 104 | | |
103 | 105 | | |
| |||
106 | 108 | | |
107 | 109 | | |
108 | 110 | | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
109 | 115 | | |
110 | | - | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
111 | 130 | | |
112 | 131 | | |
113 | 132 | | |
114 | | - | |
115 | 133 | | |
116 | 134 | | |
117 | 135 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7628 | 7628 | | |
7629 | 7629 | | |
7630 | 7630 | | |
| 7631 | + | |
7631 | 7632 | | |
7632 | 7633 | | |
7633 | 7634 | | |
| |||
7641 | 7642 | | |
7642 | 7643 | | |
7643 | 7644 | | |
| 7645 | + | |
7644 | 7646 | | |
7645 | 7647 | | |
7646 | 7648 | | |
| |||
7649 | 7651 | | |
7650 | 7652 | | |
7651 | 7653 | | |
| 7654 | + | |
| 7655 | + | |
| 7656 | + | |
| 7657 | + | |
7652 | 7658 | | |
7653 | | - | |
| 7659 | + | |
| 7660 | + | |
| 7661 | + | |
| 7662 | + | |
| 7663 | + | |
| 7664 | + | |
| 7665 | + | |
| 7666 | + | |
| 7667 | + | |
| 7668 | + | |
| 7669 | + | |
| 7670 | + | |
| 7671 | + | |
| 7672 | + | |
7654 | 7673 | | |
7655 | 7674 | | |
7656 | 7675 | | |
7657 | | - | |
7658 | 7676 | | |
7659 | 7677 | | |
7660 | 7678 | | |
| |||
0 commit comments