3
0
Fork 0
forked from mirrors/nixpkgs

openjpeg: Correctly set the install name on darwin

This fixes libpoppler, and thus texLiveFull
This commit is contained in:
John Wiegley 2015-05-05 20:29:17 -05:00
parent 007dfb8438
commit e70f8b391e

View file

@ -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 ];