mirror of
https://github.com/netdata/netdata.git
synced 2025-04-27 14:16:20 +00:00
Use glibtoolize
on macOS instead of regular libtoolize
. (#10346)
* Use `glibtoolize` on macOS instead of regular `libtoolize`. This ensures we get the version from Homebrew instead of the version from XCode. * Update install documentation for macOS.
This commit is contained in:
parent
63e91d3459
commit
1526cb77ee
2 changed files with 7 additions and 2 deletions
|
@ -716,13 +716,18 @@ bundle_libwebsockets
|
|||
|
||||
build_judy() {
|
||||
local env_cmd=''
|
||||
local libtoolize="libtoolize"
|
||||
|
||||
if [ -z "${DONT_SCRUB_CFLAGS_EVEN_THOUGH_IT_MAY_BREAK_THINGS}" ]; then
|
||||
env_cmd="env CFLAGS=-fPIC CXXFLAGS= LDFLAGS="
|
||||
fi
|
||||
|
||||
if [ "$(uname)" = "Darwin" ]; then
|
||||
libtoolize="glibtoolize"
|
||||
fi
|
||||
|
||||
pushd "${1}" > /dev/null || return 1
|
||||
if run ${env_cmd} libtoolize --force --copy &&
|
||||
if run ${env_cmd} ${libtoolize} --force --copy &&
|
||||
run ${env_cmd} aclocal &&
|
||||
run ${env_cmd} autoheader &&
|
||||
run ${env_cmd} automake --add-missing --force --copy --include-deps &&
|
||||
|
|
|
@ -53,7 +53,7 @@ Click **Install** on the Software Update popup window that appears. Then, use th
|
|||
to install some of Netdata's prerequisites.
|
||||
|
||||
```bash
|
||||
brew install ossp-uuid autoconf automake pkg-config libuv lz4 json-c openssl@1.1
|
||||
brew install ossp-uuid autoconf automake pkg-config libuv lz4 json-c openssl@1.1 libtool
|
||||
```
|
||||
|
||||
If you want to use the [database engine](/database/engine/README.md) to store your metrics, you need to download
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue