diff --git a/formula/appimagetool.yml b/formula/appimagetool.yml index b3b9cdc..7624cd3 100644 --- a/formula/appimagetool.yml +++ b/formula/appimagetool.yml @@ -2,7 +2,7 @@ summary: A command-line tool to generate an AppImage from an existing AppDir git-url: https://github.com/AppImage/appimagetool dep-pkg: glib libcurl libgpgme argp-standalone bsystem: cmake -ldflags: -static-libstdc++ -static-libgcc + prepare: | if [ "$TARGET_PLATFORM_VERS" = musl ] ; then export PROXIED_CC_ARGS="$PROXIED_CC_ARGS -L$argp_standalone_LIBRARY_DIR -largp -lintl -liconv" diff --git a/formula/chafa.yml b/formula/chafa.yml index 0610e8b..276469c 100644 --- a/formula/chafa.yml +++ b/formula/chafa.yml @@ -6,5 +6,5 @@ src-sha: 7b5b384d5fb76a641d00af0626ed2115fb255ea371d9bef11f8500286a7b09e5 license: LGPL-3.0-or-later dep-pkg: libavif librsvg.a dep-lib: -lsharpyuv -ldflags: -static-libstdc++ -static-libgcc + install: configure --enable-static --disable-shared diff --git a/formula/fish.yml b/formula/fish.yml index 1c6c685..3159657 100644 --- a/formula/fish.yml +++ b/formula/fish.yml @@ -5,4 +5,5 @@ src-url: https://github.com/fish-shell/fish-shell/releases/download/3.7.1/fish-3 src-sha: 614c9f5643cd0799df391395fa6bbc3649427bb839722ce3b114d3bbc1a3b250 license: GPL-2.0-or-later dep-pkg: libpcre2 libreadline +dopatch: gsed -i '/Fish does not support static linking/d' CMakeLists.txt install: cmakew -DWITH_GETTEXT=OFF diff --git a/formula/grpc-plugins.yml b/formula/grpc-plugins.yml index 7c04188..a791537 100644 --- a/formula/grpc-plugins.yml +++ b/formula/grpc-plugins.yml @@ -5,7 +5,6 @@ src-sha: d5509e40fb24f6390deeef8a88668124f4ec77d2ebb3b1a957b235a2f08b70c0 license: Apache-2.0 dep-pkg: libprotobuf.a libopenssl libcares libre2 dep-upp: grpc-plugins -ldflags: -static-libstdc++ -static-libgcc install: | cmakew \ diff --git a/formula/grpc-plugins@1.62.2.yml b/formula/grpc-plugins@1.62.2.yml index 1872c89..11b305a 100644 --- a/formula/grpc-plugins@1.62.2.yml +++ b/formula/grpc-plugins@1.62.2.yml @@ -5,7 +5,6 @@ src-sha: e5d5e0dd96fe9452fe24cc8c827381dca484c54d171fb512a198025fec81a3c8 license: Apache-2.0 dep-pkg: libprotobuf.a libopenssl libcares libre2 dep-upp: grpc-plugins -ldflags: -static-libstdc++ -static-libgcc install: | cmakew \ diff --git a/formula/grpc-plugins@1.66.1.yml b/formula/grpc-plugins@1.66.1.yml index d3d0737..dd8478f 100644 --- a/formula/grpc-plugins@1.66.1.yml +++ b/formula/grpc-plugins@1.66.1.yml @@ -5,7 +5,6 @@ src-sha: 79ed4ab72fa9589b20f8b0b76c16e353e4cfec1d773d33afad605d97b5682c61 license: Apache-2.0 dep-pkg: libprotobuf.a libopenssl libcares libre2 dep-upp: grpc-plugins -ldflags: -static-libstdc++ -static-libgcc install: | cmakew \ diff --git a/formula/lcdf-typetools.yml b/formula/lcdf-typetools.yml index 4bae670..5f0c12b 100644 --- a/formula/lcdf-typetools.yml +++ b/formula/lcdf-typetools.yml @@ -4,5 +4,4 @@ web-url: https://www.lcdf.org/type/ src-url: https://www.lcdf.org/type/lcdf-typetools-2.110.tar.gz src-sha: 517f9ee879208679d3224a14d5e6eb20598fc648d5c3562708083d003088a934 license: GPL-2.0-or-later -ldflags: -static-libstdc++ -static-libgcc install: configure --without-kpathsea diff --git a/formula/mosh.yml b/formula/mosh.yml index 91df4c5..066051e 100644 --- a/formula/mosh.yml +++ b/formula/mosh.yml @@ -8,7 +8,6 @@ dep-pkg: libz libopenssl libncurses libprotobuf.a dep-upp: perl xxflags: -std=gnu++17 -ldflags: -static-libstdc++ -static-libgcc dopatch: gsed -i 's|if ( bind|if (::bind|' src/network/network.cc install: configure --with-ncurses diff --git a/formula/opencolorio.yml b/formula/opencolorio.yml index 0d1b6a9..b0bdcd8 100644 --- a/formula/opencolorio.yml +++ b/formula/opencolorio.yml @@ -7,8 +7,6 @@ dep-pkg: libopenexr liblcms2 libexpat libyaml-cpp libpystring libminizip-ng sse2 dep-lib: OpenEXR dep-upp: git -ldflags: -static-libstdc++ -static-libgcc - dopatch: | if [ "$TARGET_PLATFORM_NAME" = macos ] ; then export LDFLAGS="$LDFLAGS -framework CoreFoundation -framework Security" diff --git a/formula/openexr.yml b/formula/openexr.yml index efeeb08..790be98 100644 --- a/formula/openexr.yml +++ b/formula/openexr.yml @@ -5,7 +5,6 @@ src-url: https://github.com/AcademySoftwareFoundation/openexr/archive/refs/tags/ src-sha: 5013e964de7399bff1dd328cbf65d239a989a7be53255092fa10b85a8715744d license: BSD-3-Clause dep-pkg: libImath.a libz libdeflate -ldflags: -static-libstdc++ -static-libgcc dopatch: | gsed -i '/find_library(OPENEXR_EXTRA_MATH_LIB m)/c set(OPENEXR_EXTRA_MATH_LIB -lm)' cmake/CMakeLists.txt diff --git a/formula/wabt.yml b/formula/wabt.yml index 1a29db4..0184d3f 100644 --- a/formula/wabt.yml +++ b/formula/wabt.yml @@ -2,5 +2,4 @@ summary: Web Assembly Binary Toolkit src-url: https://github.com/WebAssembly/wabt/releases/download/1.0.35/wabt-1.0.35.tar.xz src-sha: 87210f895044137c01a588e9f5b4d1b0ed143c8c666440d387a0b7d2c5eff012 license: Apache-2.0 -ldflags: -static-libstdc++ -static-libgcc install: cmakew -DBUILD_TESTS=OFF diff --git a/formula/woff2.yml b/formula/woff2.yml index 7c7370d..a549848 100644 --- a/formula/woff2.yml +++ b/formula/woff2.yml @@ -4,7 +4,6 @@ src-sha: add272bb09e6384a4833ffca4896350fdb16e0ca22df68c0384773c67a175594 license: MIT dep-pkg: libbrotli dep-lib: -lbrotlicommon -ldflags: -static-libstdc++ -static-libgcc dopatch: gsed -i '/^install(/,$d' CMakeLists.txt