mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-04 07:15:29 -04:00
meson/pgo: fix PGO build errors with recent meson(?) versions
The back-reference to 'tokenize.c' in the parent directory causes PGO build failures, where gcc can't find the PGO data. Likely due to path/naming issues caused by meson's generated build directories.
This commit is contained in:
parent
36e4435bbf
commit
065eb05e3e
2 changed files with 8 additions and 2 deletions
|
|
@ -252,6 +252,12 @@ pgolib = static_library(
|
|||
link_with: vtlib,
|
||||
)
|
||||
|
||||
tokenize = static_library(
|
||||
'tokenizelib',
|
||||
'tokenize.c',
|
||||
link_with: [common],
|
||||
)
|
||||
|
||||
if get_option('b_pgo') == 'generate'
|
||||
executable(
|
||||
'pgo',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue