Commit 0aa0ce0
committed
python::python3: fix dev package
The python-dev package holds a magic sysconf module that is used by
setuptools and friends to find crucial paths. In particular, the path
to the include files is taken from there.
So far, the module did hold absolute paths that pointed to the intended
install location. That is completely wrong because the package never
ends up there and needs to be relocatable. Patch the module accordingly
to rewrite all absolute paths to one relative to the sysconfig module.1 parent 4dcdbb8 commit 0aa0ce0
1 file changed
Lines changed: 10 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
104 | | - | |
105 | | - | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
106 | 114 | | |
107 | 115 | | |
108 | 116 | | |
| |||
0 commit comments