From a1ade02cdc75a11013c49ad12c7bb4feeec0d080 Mon Sep 17 00:00:00 2001 From: janus Date: Tue, 24 Nov 2015 10:59:39 +0000 Subject: FreeBSD support --- pkgs/development/libraries/libiconv/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'pkgs/development/libraries/libiconv') diff --git a/pkgs/development/libraries/libiconv/default.nix b/pkgs/development/libraries/libiconv/default.nix index 70b0574a7b46..24a0376f0f9f 100644 --- a/pkgs/development/libraries/libiconv/default.nix +++ b/pkgs/development/libraries/libiconv/default.nix @@ -19,7 +19,8 @@ stdenv.mkDerivation rec { # (Windows' linker would need to be used somehow to produce an actual # DLL.) Thus, build the static library too, and this is what Gettext # will actually use. - configureFlags = if stdenv.isCygwin then [ "--enable-static" ] else null; + configureFlags = if stdenv.isCygwin then [ "--enable-static" ] else + if stdenv.isFreeBSD then [ "--with-pic" ] else null; crossAttrs = { # Disable stripping to avoid "libiconv.a: Archive has no index" (MinGW). -- cgit 1.4.1