commit 8f469f093020a76d2ebaf7e5ab4067412d6a3184 parent dde59a1564f17fce572b096602c4694da23325c8 Author: Cem Keylan <cem@ckyln.com> Date: Tue, 5 Jan 2021 15:55:30 +0300 aria2: link statically Diffstat:
M | community/aria2/build | | | 6 | +++++- |
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/community/aria2/build b/community/aria2/build @@ -1,5 +1,9 @@ #!/bin/sh -e +export CFLAGS="$CFLAGS -static-libgcc" +export CXXFLAGS="$CXXFLAGS -static-libgcc -static-libstdc++" +export PKG_CONFIG="pkgconf --static" + ./configure \ --prefix=/usr \ --disable-nls \ @@ -9,5 +13,5 @@ --without-libexpat \ --without-sqlite3 -make +make LDFLAGS="$LDFLAGS -all-static" make DESTDIR="$1" install