mirror of
https://github.com/netdata/netdata.git
synced 2025-04-06 06:25:32 +00:00
fix static build, curl will be staict binary; extra args can be transfer (#11852)
* update curl LDFLAGS to build static file * transfer extra args to build.sh
This commit is contained in:
parent
1fd40e59d8
commit
4a432d99fc
2 changed files with 2 additions and 2 deletions
packaging/makeself
|
@ -4,4 +4,4 @@
|
||||||
|
|
||||||
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
|
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
|
||||||
|
|
||||||
"${SCRIPT_DIR}/build-static.sh" x86_64
|
"${SCRIPT_DIR}/build-static.sh" x86_64 "${@}"
|
||||||
|
|
|
@ -40,7 +40,7 @@ run ./configure \
|
||||||
--with-openssl
|
--with-openssl
|
||||||
|
|
||||||
# Curl autoconf does not honour the curl_LDFLAGS environment variable
|
# Curl autoconf does not honour the curl_LDFLAGS environment variable
|
||||||
run sed -i -e "s/curl_LDFLAGS =/curl_LDFLAGS = -all-static/" src/Makefile
|
run sed -i -e "s/LDFLAGS =/LDFLAGS = -all-static/" src/Makefile
|
||||||
|
|
||||||
run make clean
|
run make clean
|
||||||
run make -j "$(nproc)"
|
run make -j "$(nproc)"
|
||||||
|
|
Loading…
Add table
Reference in a new issue