3
0
Fork 0
forked from mirrors/nixpkgs

gmic: fix build on aarch64-darwin

This commit is contained in:
Weijia Wang 2022-10-24 14:52:01 +02:00
parent bc4ce318bf
commit f6f13bb753

View file

@ -75,6 +75,9 @@ stdenv.mkDerivation rec {
# CMake build files were moved to subdirectory.
mv resources/CMakeLists.txt resources/cmake .
'' + lib.optionalString stdenv.isDarwin ''
substituteInPlace CMakeLists.txt \
--replace "LD_LIBRARY_PATH" "DYLD_LIBRARY_PATH"
'';
passthru = {