diff options
author | Cem Keylan <cem@ckyln.com> | 2021-01-05 15:55:30 +0300 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2021-01-05 15:55:30 +0300 |
commit | 8f469f093020a76d2ebaf7e5ab4067412d6a3184 (patch) | |
tree | de5f80353a717fe869c5439dee4f2ec25d45a386 /community/aria2/build | |
parent | dde59a1564f17fce572b096602c4694da23325c8 (diff) | |
download | repository-8f469f093020a76d2ebaf7e5ab4067412d6a3184.tar.gz |
aria2: link statically
Diffstat (limited to 'community/aria2/build')
-rwxr-xr-x | community/aria2/build | 6 |
1 files changed, 5 insertions, 1 deletions
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 |