Skip to content

Commit

Permalink
no ld-linux on static
Browse files Browse the repository at this point in the history
  • Loading branch information
rootTHC committed Aug 31, 2024
1 parent be19aeb commit 113143b
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions deploy/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -832,11 +832,12 @@ init_vars()
SERVICE_HIDDEN_NAME="${SERVICE_HIDDEN_NAME%%.*}"

unset LDSO
[[ "$OSTYPE" == *linux* ]] && [[ -z "$S" ]] && {
LDSO="$(echo /lib64/ld-*.so.*)"
[[ ! -f "${LDSO}" ]] && LDSO="$(echo /lib/ld-*.so.*)"
[[ ! -f "${LDSO}" ]] && unset LDSO
}
# DISABLED because ld-linux.so loading of static bins (gsnc-stealth) wont work :/
# [[ "$OSTYPE" == *linux* ]] && [[ -z "$S" ]] && {
# LDSO="$(echo /lib64/ld-*.so.*)"
# [[ ! -f "${LDSO}" ]] && LDSO="$(echo /lib/ld-*.so.*)"
# [[ ! -f "${LDSO}" ]] && unset LDSO
# }

if [[ $OSTYPE == *darwin* ]]; then
# on OSX 'pkill' and 'killall' match the process (argv[0]) whereas on Unix
Expand Down

0 comments on commit 113143b

Please sign in to comment.