diff options
author | Cem Keylan <cem@ckyln.com> | 2020-07-03 13:54:25 +0300 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2020-07-03 13:54:25 +0300 |
commit | 11d7049e3b5793a080744331562ed310edc135d4 (patch) | |
tree | 3434201199a4e530a1f2ded198f969893fdc7cd8 /core/sbase | |
parent | de1159bc45602cce9ae636bc10b431f4f793d7a4 (diff) | |
download | repository-11d7049e3b5793a080744331562ed310edc135d4.tar.gz |
sbase: revert to sbase-box but properly link statically
Diffstat (limited to 'core/sbase')
-rwxr-xr-x | core/sbase/build | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/core/sbase/build b/core/sbase/build index 957e2a84..fdc07891 100755 --- a/core/sbase/build +++ b/core/sbase/build @@ -1,7 +1,6 @@ #!/bin/sh -e -make CC="${CC:-cc} -static" -make PREFIX=/usr DESTDIR="$1" install +make LDFLAGS="$LDFLAGS -static" PREFIX=/usr DESTDIR="$1" sbase-box-install -rm -f "$1/usr/bin/tar" -rm -f "$1/usr/bin/sed" +unlink "$1/usr/bin/tar" +unlink "$1/usr/bin/sed" |