openjpeg: Correctly set the install name on darwin
This fixes libpoppler, and thus texLiveFull
This commit is contained in:
parent
007dfb8438
commit
e70f8b391e
@ -42,6 +42,8 @@ stdenv.mkDerivation rec {
|
|||||||
(mkFlag jp3dSupport "BUILD_JP3D")
|
(mkFlag jp3dSupport "BUILD_JP3D")
|
||||||
(mkFlag thirdPartySupport "BUILD_THIRDPARTY")
|
(mkFlag thirdPartySupport "BUILD_THIRDPARTY")
|
||||||
(mkFlag testsSupport "BUILD_TESTING")
|
(mkFlag testsSupport "BUILD_TESTING")
|
||||||
|
] ++ stdenv.lib.optionals stdenv.isDarwin
|
||||||
|
[ "-DCMAKE_INSTALL_NAME_DIR=\${CMAKE_INSTALL_PREFIX}/lib"
|
||||||
];
|
];
|
||||||
|
|
||||||
nativebuildInputs = [ pkgconfig ];
|
nativebuildInputs = [ pkgconfig ];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user