mirror of
https://github.com/servo/servo.git
synced 2025-07-24 07:40:27 +01:00
Add linking hack to work around older libunwind package versions.
This commit is contained in:
parent
7a6fb65bd9
commit
6c1bf6a591
1 changed files with 5 additions and 0 deletions
|
@ -18,6 +18,11 @@ use unwind_sys::{
|
||||||
unw_cursor_t, unw_get_reg, unw_init_local, unw_step, UNW_ESUCCESS, UNW_REG_IP, UNW_REG_SP,
|
unw_cursor_t, unw_get_reg, unw_init_local, unw_step, UNW_ESUCCESS, UNW_REG_IP, UNW_REG_SP,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// Hack to workaround broken libunwind pkg-config contents for <1.1-3ubuntu.1.
|
||||||
|
// https://bugs.launchpad.net/ubuntu/+source/libunwind/+bug/1336912
|
||||||
|
#[link(name = "lzma")]
|
||||||
|
extern "C" {}
|
||||||
|
|
||||||
static mut SHARED_STATE: SharedState = SharedState {
|
static mut SHARED_STATE: SharedState = SharedState {
|
||||||
msg2: None,
|
msg2: None,
|
||||||
msg3: None,
|
msg3: None,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue