MSYS2-packages/rebase/rebase.hook
Jeremy Drake 5a5ae4633c rebase: add a pacman hook on i686.
It will rebase any *.{dll,so,oct} except usr/bin/msys-2.0.dll.  Note it
requires the rebase db to be present, so essentially it requires
rebaseall to have been run (probably at install).
2021-05-18 10:07:49 -07:00

19 lines
350 B
Plaintext

[Trigger]
Type = Path
Operation = Install
Operation = Upgrade
Target = usr/lib/*.dll
Target = usr/lib/*.so
Target = usr/lib/*.oct
Target = usr/bin/*.dll
Target = usr/bin/*.so
Target = usr/bin/*.oct
Target = !usr/bin/msys-2.0.dll
[Action]
Description = Rebasing DLLs
When = PostTransaction
Depends = rebase
Exec = /usr/bin/rebase -snT -
NeedsTargets