mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 13:10:33 +00:00
fixDarwinDylibNames: Use new hook mechanism
This commit is contained in:
parent
be330c47eb
commit
ae18038c6d
|
@ -10,6 +10,8 @@
|
|||
# their absolute path (using "install_name_tool -id"). It also
|
||||
# rewrites references in other dylibs to absolute paths.
|
||||
|
||||
postFixupHooks+=('fixDarwinDylibNamesIn $prefix')
|
||||
|
||||
fixDarwinDylibNames() {
|
||||
local flags=()
|
||||
local old_id
|
||||
|
@ -29,7 +31,3 @@ fixDarwinDylibNamesIn() {
|
|||
local dir="$1"
|
||||
fixDarwinDylibNames $(find "$dir" -name "*.dylib")
|
||||
}
|
||||
|
||||
postFixup() {
|
||||
fixDarwinDylibNamesIn "$prefix"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue