diff options
author | John Wiegley <johnw@newartisans.com> | 2015-05-05 20:29:17 -0500 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2015-05-05 20:30:02 -0500 |
commit | e70f8b391ef0b5d85bf7788ddff5fd243baa9050 (patch) | |
tree | bc1cfc86ce61298bd278695c0b7967cee558d83e /pkgs | |
parent | 007dfb8438cc360acfe4a43dec68f7f08c04196a (diff) |
openjpeg: Correctly set the install name on darwin
This fixes libpoppler, and thus texLiveFull
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/libraries/openjpeg/generic.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/development/libraries/openjpeg/generic.nix b/pkgs/development/libraries/openjpeg/generic.nix index 4ffcd62f982be..3fae65d9bd298 100644 --- a/pkgs/development/libraries/openjpeg/generic.nix +++ b/pkgs/development/libraries/openjpeg/generic.nix @@ -42,6 +42,8 @@ stdenv.mkDerivation rec { (mkFlag jp3dSupport "BUILD_JP3D") (mkFlag thirdPartySupport "BUILD_THIRDPARTY") (mkFlag testsSupport "BUILD_TESTING") + ] ++ stdenv.lib.optionals stdenv.isDarwin + [ "-DCMAKE_INSTALL_NAME_DIR=\${CMAKE_INSTALL_PREFIX}/lib" ]; nativebuildInputs = [ pkgconfig ]; |