From 4e6c18600653050dcf33e7b13acf9d2006ae9848 Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Mon, 8 Jun 2020 22:50:57 +0300 Subject: sbase: link statically --- core/sbase/build | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'core/sbase/build') diff --git a/core/sbase/build b/core/sbase/build index 0ed092ee..957e2a84 100755 --- a/core/sbase/build +++ b/core/sbase/build @@ -1,7 +1,7 @@ #!/bin/sh -e -make LDFLAGS="$LDFLAGS -static" sbase-box -make PREFIX=/usr DESTDIR="$1" sbase-box-install +make CC="${CC:-cc} -static" +make PREFIX=/usr DESTDIR="$1" install -unlink "$1/usr/bin/tar" -unlink "$1/usr/bin/sed" +rm -f "$1/usr/bin/tar" +rm -f "$1/usr/bin/sed" -- cgit v1.2.3