libiconv: fix cygwin build (#471411)

This commit is contained in:
Aleksana
2025-12-17 07:53:54 +00:00
committed by GitHub
@@ -76,7 +76,11 @@ stdenv.mkDerivation rec {
(lib.enableFeature enableStatic "static")
(lib.enableFeature enableShared "shared")
]
++ lib.optional stdenv.hostPlatform.isFreeBSD "--with-pic";
++ lib.optional stdenv.hostPlatform.isFreeBSD "--with-pic"
# Work around build failure caused by the gnulib workaround for
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114870.
# remove after gnulib is updated
++ lib.optional stdenv.hostPlatform.isCygwin "gl_cv_clean_version_stddef=yes";
passthru = { inherit setupHooks; };