Merge pull request #420 from CachyOS/fix/meson-env-var-append

meson: fix RUSTFLAGS being appended incorrectly
This commit is contained in:
Tejun Heo 2024-07-12 09:06:03 -10:00 committed by GitHub
commit 274bcf7f02
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -295,7 +295,7 @@ if libbpf_a != ''
cargo_env.append('RUSTFLAGS', cargo_env.append('RUSTFLAGS',
'-C relocation-model=pic -C link-args=-lelf -C link-args=-lz -C link-args=-lzstd -L ' '-C relocation-model=pic -C link-args=-lelf -C link-args=-lz -C link-args=-lzstd -L '
+ fs.parent(libbpf_a)) + fs.parent(libbpf_a), separator: ' ')
# #
# XXX - scx_rusty's original Cargo.toml contained a dependency matching # XXX - scx_rusty's original Cargo.toml contained a dependency matching