gettext: move LDFLAGS into env for structuredAttrs
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user