From 4ad044d31f1e598ef2c97addcaf1a13b92ffd4fd Mon Sep 17 00:00:00 2001 From: Michal Rus Date: Mon, 5 Aug 2024 09:25:19 +0200 Subject: [PATCH] [LW-10808] Try one last time to fix Netlify --- Brewfile.netlify | 4 ++++ netlify.toml | 7 ++++++- 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 Brewfile.netlify diff --git a/Brewfile.netlify b/Brewfile.netlify new file mode 100644 index 0000000000..7d8fe08a08 --- /dev/null +++ b/Brewfile.netlify @@ -0,0 +1,4 @@ +brew "libusb" + +# libudev.h +brew "systemd" diff --git a/netlify.toml b/netlify.toml index 17c302709b..4ae66bfd6e 100644 --- a/netlify.toml +++ b/netlify.toml @@ -1,3 +1,8 @@ [build] - environment = { YARN_VERSION = "1.22.19", NODE_VERSION = "18.12.1" } + environment = { + YARN_VERSION = "1.22.19", + NODE_VERSION = "18.12.1", + CXXFLAGS = "-I/home/linuxbrew/.linuxbrew/include", + LDFLAGS = "-L/home/linuxbrew/.linuxbrew/lib", + } command = "yarn && yarn storybook:build"