diff options
author | Domen Kožar <domen@dev.si> | 2014-07-02 19:55:39 +0200 |
---|---|---|
committer | Domen Kožar <domen@dev.si> | 2014-07-02 19:57:16 +0200 |
commit | 2e70c676ca41a3e3d96bde09cbb9570d139bb3a0 (patch) | |
tree | faac14bd00dfbfe77a555acabf19ff75631014cb /pkgs/development/interpreters/python | |
parent | cfcbfb494e952e8954ad9106ca0a6bb5a632fe10 (diff) | |
download | nixlib-2e70c676ca41a3e3d96bde09cbb9570d139bb3a0.tar nixlib-2e70c676ca41a3e3d96bde09cbb9570d139bb3a0.tar.gz nixlib-2e70c676ca41a3e3d96bde09cbb9570d139bb3a0.tar.bz2 nixlib-2e70c676ca41a3e3d96bde09cbb9570d139bb3a0.tar.lz nixlib-2e70c676ca41a3e3d96bde09cbb9570d139bb3a0.tar.xz nixlib-2e70c676ca41a3e3d96bde09cbb9570d139bb3a0.tar.zst nixlib-2e70c676ca41a3e3d96bde09cbb9570d139bb3a0.zip |
python: link gcc_s
Signed-off-by: Domen Kožar <domen@dev.si>
Diffstat (limited to 'pkgs/development/interpreters/python')
-rw-r--r-- | pkgs/development/interpreters/python/2.7/default.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/development/interpreters/python/2.7/default.nix b/pkgs/development/interpreters/python/2.7/default.nix index 9d75ea973e61..388a0c9b1346 100644 --- a/pkgs/development/interpreters/python/2.7/default.nix +++ b/pkgs/development/interpreters/python/2.7/default.nix @@ -56,6 +56,7 @@ let inherit majorVersion version src patches postPatch buildInputs; + LDFLAGS = stdenv.lib.optionalString (!stdenv.isDarwin) "-lgcc_s"; C_INCLUDE_PATH = concatStringsSep ":" (map (p: "${p}/include") buildInputs); LIBRARY_PATH = concatStringsSep ":" (map (p: "${p}/lib") buildInputs); |