Update netdata-installer.sh to fix #8862 (#9360)
Added an LDFLAG export to macOS to properly find openssl when compiling with netdata-cloud.
マティアス committed
Aug 10, 2020 at 05:18 UTC
647b1d6688374f0850366402daa5c8a04791cc54
1 file changed
+1
netdata-installer.sh
+1
@@ -29,6 +29,7 @@ fi
29
# Pull in OpenSSL properly if on macOS
30
if [ "$(uname -s)" = 'Darwin' ] && [ -d /usr/local/opt/openssl/include ]; then
31
export C_INCLUDE_PATH="/usr/local/opt/openssl/include"
32
+ export LDFLAGS="-L/usr/local/opt/openssl@1.1/lib"
33
fi
34
35
# -----------------------------------------------------------------------------