summaryrefslogtreecommitdiffstats
path: root/netdata-installer.sh
diff options
context:
space:
mode:
authorマティアス <matias@section9labs.com>2020-08-10 05:18:41 -0700
committerAustin S. Hemmelgarn <austin@netdata.cloud>2020-08-14 07:31:36 -0400
commit647b1d6688374f0850366402daa5c8a04791cc54 (patch)
tree4bd31fb858e5502a66251ec99ba3cedac079d063 /netdata-installer.sh
parent676cf1801c2e741282186c98c6c6933fc66277f1 (diff)
Update netdata-installer.sh to fix #8862 (#9360)
Added an LDFLAG export to macOS to properly find openssl when compiling with netdata-cloud.
Diffstat (limited to 'netdata-installer.sh')
-rwxr-xr-xnetdata-installer.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/netdata-installer.sh b/netdata-installer.sh
index 151e8760fe..bc2e1cbe0b 100755
--- a/netdata-installer.sh
+++ b/netdata-installer.sh
@@ -29,6 +29,7 @@ fi
# Pull in OpenSSL properly if on macOS
if [ "$(uname -s)" = 'Darwin' ] && [ -d /usr/local/opt/openssl/include ]; then
export C_INCLUDE_PATH="/usr/local/opt/openssl/include"
+ export LDFLAGS="-L/usr/local/opt/openssl@1.1/lib"
fi
# -----------------------------------------------------------------------------