gettext: move LDFLAGS into env for structuredAttrs

This commit is contained in:
Stefan Frijters
2026-01-07 21:30:36 +01:00
parent 32f133b65b
commit f3ff9c6413
@@ -35,8 +35,6 @@ stdenv.mkDerivation rec {
"info"
];
LDFLAGS = lib.optionalString stdenv.hostPlatform.isSunOS "-lm -lmd -lmp -luutil -lnvpair -lnsl -lidmap -lavl -lsec";
configureFlags = [
"--disable-csharp"
]
@@ -102,6 +100,9 @@ stdenv.mkDerivation rec {
# https://github.com/Homebrew/homebrew-core/pull/199639
# https://savannah.gnu.org/bugs/index.php?66541
am_cv_func_iconv_works = "yes";
}
// lib.optionalAttrs stdenv.hostPlatform.isSunOS {
LDFLAGS = "-lm -lmd -lmp -luutil -lnvpair -lnsl -lidmap -lavl -lsec";
};
enableParallelBuilding = true;