From 8f469f093020a76d2ebaf7e5ab4067412d6a3184 Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Tue, 5 Jan 2021 15:55:30 +0300 Subject: aria2: link statically --- community/aria2/build | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'community') diff --git a/community/aria2/build b/community/aria2/build index 9fae6147..f6281345 100755 --- 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 -- cgit v1.2.3