mirror of
https://github.com/harfbuzz/harfbuzz.git
synced 2025-04-13 08:42:59 +00:00
[fontations] Support buildtype debugoptimized really
This commit is contained in:
parent
51c68eb29d
commit
d19e45a1f5
2 changed files with 6 additions and 2 deletions
|
@ -15,3 +15,7 @@ libc = "0.2"
|
|||
name = "harfbuzz_fontations"
|
||||
path = "lib.rs"
|
||||
crate-type = ["staticlib"]
|
||||
|
||||
[profile.debugoptimized]
|
||||
inherits = "release"
|
||||
debug = true
|
||||
|
|
|
@ -11,8 +11,8 @@ hb_rs = rust.bindgen(
|
|||
cargo = find_program('cargo')
|
||||
|
||||
buildtype = get_option('buildtype')
|
||||
if buildtype == 'release'
|
||||
cargo_args = ['--release']
|
||||
if buildtype == 'release' or buildtype == 'debugoptimized'
|
||||
cargo_args = ['--profile', buildtype]
|
||||
else
|
||||
cargo_args = []
|
||||
endif
|
||||
|
|
Loading…
Add table
Reference in a new issue