Merge pull request #197539 from wegank/gmic-aarch64-darwin
gmic: fix build on aarch64-darwin
This commit is contained in:
commit
ee8f584c19
@ -75,6 +75,9 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
# CMake build files were moved to subdirectory.
|
# CMake build files were moved to subdirectory.
|
||||||
mv resources/CMakeLists.txt resources/cmake .
|
mv resources/CMakeLists.txt resources/cmake .
|
||||||
|
'' + lib.optionalString stdenv.isDarwin ''
|
||||||
|
substituteInPlace CMakeLists.txt \
|
||||||
|
--replace "LD_LIBRARY_PATH" "DYLD_LIBRARY_PATH"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
|
Loading…
Reference in New Issue
Block a user