diff options
author | Orivej Desh <orivej@gmx.fr> | 2017-11-27 15:57:50 +0000 |
---|---|---|
committer | Orivej Desh <orivej@gmx.fr> | 2017-11-27 15:59:50 +0000 |
commit | 78af59354cba5fd84efc571086fcaab746b734c1 (patch) | |
tree | c7c61296b3e3f5fcf7d93426089b800ac5a7ec7c /pkgs/development/libraries/glew | |
parent | 4a8caddb6e2e34d4a5fc9aebd85c5dd9ffe53be8 (diff) |
glew: fix darwin install name
Diffstat (limited to 'pkgs/development/libraries/glew')
-rw-r--r-- | pkgs/development/libraries/glew/default.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/development/libraries/glew/default.nix b/pkgs/development/libraries/glew/default.nix index 57bb4cb631d4a..38b303bde856b 100644 --- a/pkgs/development/libraries/glew/default.nix +++ b/pkgs/development/libraries/glew/default.nix @@ -19,8 +19,9 @@ stdenv.mkDerivation rec { patchPhase = '' sed -i 's|lib64|lib|' config/Makefile.linux + substituteInPlace config/Makefile.darwin --replace /usr/local "$out" ${optionalString (hostPlatform != buildPlatform) '' - sed -i -e 's/\(INSTALL.*\)-s/\1/' Makefile + sed -i -e 's/\(INSTALL.*\)-s/\1/' Makefile ''} ''; @@ -43,6 +44,8 @@ stdenv.mkDerivation rec { "SYSTEM=${if hostPlatform.isMinGW then "mingw" else hostPlatform.parsed.kernel.name}" ]; + enableParallelBuilding = true; + meta = with stdenv.lib; { description = "An OpenGL extension loading library for C(++)"; homepage = http://glew.sourceforge.net/; |