diff options
Diffstat (limited to 'pkgs/development/libraries/libunistring/default.nix')
-rw-r--r-- | pkgs/development/libraries/libunistring/default.nix | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/pkgs/development/libraries/libunistring/default.nix b/pkgs/development/libraries/libunistring/default.nix index c7e76447e3fd..590ad64cb40f 100644 --- a/pkgs/development/libraries/libunistring/default.nix +++ b/pkgs/development/libraries/libunistring/default.nix @@ -55,4 +55,11 @@ stdenv.mkDerivation (rec { # can't find the dll, it will only create a static library. (if (stdenv ? glibc) then {} - else { configureFlags = "--with-libiconv-prefix=${libiconv}"; })) + else { configureFlags = "--with-libiconv-prefix=${libiconv}"; }) + +// + +# Don't run the native `strip' when cross-compiling. +(if (stdenv ? cross) + then { dontStrip = true; } + else { })) |