Commit 239ed51
committed
BLD: Fix setting FreeType build type in extension
Previously, this used a macro defined on the command line to a literal,
which was "stringified" with macro magic. But if the command-line
definition isn't there, then you just get a stringified version of the
macro name.
Instead, don't do any stringification, so that it fails on error. Then
pass a string as the defnition.1 parent 112a225 commit 239ed51
File tree
3 files changed
+15
-11
lines changed- lib/matplotlib
- src
3 files changed
+15
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1315 | 1315 | | |
1316 | 1316 | | |
1317 | 1317 | | |
1318 | | - | |
1319 | | - | |
1320 | | - | |
1321 | | - | |
1322 | | - | |
1323 | | - | |
1324 | | - | |
| 1318 | + | |
| 1319 | + | |
| 1320 | + | |
| 1321 | + | |
| 1322 | + | |
| 1323 | + | |
| 1324 | + | |
| 1325 | + | |
| 1326 | + | |
1325 | 1327 | | |
1326 | 1328 | | |
1327 | 1329 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | 13 | | |
17 | 14 | | |
18 | 15 | | |
| |||
1532 | 1529 | | |
1533 | 1530 | | |
1534 | 1531 | | |
1535 | | - | |
| 1532 | + | |
1536 | 1533 | | |
1537 | 1534 | | |
1538 | 1535 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
99 | 104 | | |
100 | 105 | | |
101 | 106 | | |
| |||
0 commit comments