···19 # (Windows' linker would need to be used somehow to produce an actual
20 # DLL.) Thus, build the static library too, and this is what Gettext
21 # will actually use.
22- configureFlags = if stdenv.isCygwin then [ "--enable-static" ] else null;
02324 crossAttrs = {
25 # Disable stripping to avoid "libiconv.a: Archive has no index" (MinGW).
···19 # (Windows' linker would need to be used somehow to produce an actual
20 # DLL.) Thus, build the static library too, and this is what Gettext
21 # will actually use.
22+ configureFlags = if stdenv.isCygwin then [ "--enable-static" ] else
23+ if stdenv.isFreeBSD then [ "--with-pic" ] else null;
2425 crossAttrs = {
26 # Disable stripping to avoid "libiconv.a: Archive has no index" (MinGW).