Repository navigation
Commit a0049af
committed
build: do not add <sys.prefix>/lib to library_dirs twice
build_ext.finalize_options unconditionally appended <sys.prefix>/lib.
Skip the append when the directory is already in library_dirs, so a
repeated finalize_options call or a pre-populated list does not produce
a duplicate -L flag.1 parent 02a542a commit a0049af
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
41 | 43 | | |
42 | 44 | | |
43 | 45 | | |
| |||
0 commit comments