fixup build for macos

This commit is contained in:
Wez Furlong committed 2020-10-05 09:11:17 -07:00
1 parent e2e46cb50d
commit a0b3932e6d
3 files changed
+3 -2

No files matched your search

Generated
+1
View File
@@ -2017,6 +2017,7 @@ dependencies = [
"bintree",
"config",
"downcast-rs",
"libc",
"log",
"portable-pty",
"promise",
+1
View File
@@ -12,6 +12,7 @@ async-trait = "0.1"
bintree = { path = "../bintree" }
config = { path = "../config" }
downcast-rs = "1.0"
libc = "0.2"
log = "0.4"
portable-pty = { path = "../pty", features = ["serde_support"]}
promise = { path = "../promise" }
+1 -2
View File
@@ -1,6 +1,5 @@
use ::window::*;
use anyhow::Error;
use config::configuration;
pub use config::FrontEndSelection;
use mux::{Mux, MuxNotification};
use std::cell::RefCell;
@@ -49,7 +48,7 @@ impl GuiFrontEnd {
pub fn try_new() -> anyhow::Result<Rc<GuiFrontEnd>> {
#[cfg(all(unix, not(target_os = "macos")))]
{
if !configuration().enable_wayland {
if !config::configuration().enable_wayland {
Connection::disable_wayland();
}
}