summaryrefslogtreecommitdiffstats
path: root/netdata-installer.sh
diff options
context:
space:
mode:
authorTimotej S <6674623+underhood@users.noreply.github.com>2022-03-31 13:59:41 +0200
committerGitHub <noreply@github.com>2022-03-31 13:59:41 +0200
commit6368e23a462bbfbd83447385c4be679e801925f8 (patch)
tree1efc1ea5dcecf002ce266f1dc688c1b129e352b8 /netdata-installer.sh
parent6a2d3ca16887428641c83abdc411a954dde9803b (diff)
Fix Build on MacOS (#12554)
Diffstat (limited to 'netdata-installer.sh')
-rwxr-xr-xnetdata-installer.sh21
1 files changed, 0 insertions, 21 deletions
diff --git a/netdata-installer.sh b/netdata-installer.sh
index 545fe61fb4..f59bc2b34f 100755
--- a/netdata-installer.sh
+++ b/netdata-installer.sh
@@ -29,27 +29,6 @@ if [ "${NETDATA_SOURCE_DIR}" != "${INSTALLER_DIR}" ] && [ "${INSTALLER_DIR}" !=
fi
# -----------------------------------------------------------------------------
-# Pull in OpenSSL properly if on macOS
-if [ "$(uname -s)" = 'Darwin' ]; then
- if brew --prefix > /dev/null 2>&1; then
- if brew --prefix --installed openssl > /dev/null 2>&1; then
- HOMEBREW_OPENSSL_PREFIX=$(brew --prefix --installed openssl)
- elif brew --prefix --installed openssl@3 > /dev/null 2>&1; then
- HOMEBREW_OPENSSL_PREFIX=$(brew --prefix --installed openssl@3)
- elif brew --prefix --installed openssl@1.1 > /dev/null 2>&1; then
- HOMEBREW_OPENSSL_PREFIX=$(brew --prefix --installed openssl@1.1)
- fi
- if [ -n "${HOMEBREW_OPENSSL_PREFIX}" ]; then
- export CFLAGS="${CFLAGS} -I${HOMEBREW_OPENSSL_PREFIX}/include"
- export LDFLAGS="${LDFLAGS} -L${HOMEBREW_OPENSSL_PREFIX}/lib"
- fi
- HOMEBREW_PREFIX=$(brew --prefix)
- export CFLAGS="${CFLAGS} -I${HOMEBREW_PREFIX}/include"
- export LDFLAGS="${LDFLAGS} -L${HOMEBREW_PREFIX}/lib"
- fi
-fi
-
-# -----------------------------------------------------------------------------
# reload the user profile
# shellcheck source=/dev/null