mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-15 13:37:21 +03:00
ftgl: drop an impure -dylib_file on darwin
The build may outright fail because of this on recent macOS: ftgl> clang-11: error: no such file or directory: '/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib'
This commit is contained in:
parent
2912f1cced
commit
795fbbf5cc
@ -23,6 +23,14 @@ stdenv.mkDerivation rec {
|
||||
hash = "sha256-6TDNGoMeBLnucmHRgEDIVWcjlJb7N0sTluqBwRMMWn4=";
|
||||
};
|
||||
|
||||
# GL_DYLIB is hardcoded to an impure path
|
||||
# /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
|
||||
# and breaks build on recent macOS versions
|
||||
postPatch = ''
|
||||
substituteInPlace m4/gl.m4 \
|
||||
--replace ' -dylib_file $GL_DYLIB: $GL_DYLIB' ""
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
autoreconfHook
|
||||
doxygen
|
||||
|
Loading…
Reference in New Issue
Block a user