Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
builder: catgets fix for msys2 + minor changes
Change `ln -s` to `cp` in the catgets makefile in the applied patch, this is used for making symlinks to some header files, this will hopefully fix building catgets for @ZachBacon on msys2. There seems to be a problem with the mingw gcc reading headers that are symlinks, even if they are real windows symlinks. Also slightly refactor checking for target built files. Add the `-f` flag for `install_artifact([-f] $dist)` for the full path to the target file, and add the helper functions `check_install_artifact($dist)` and `check_install_artifact_relative($dist $root_path)`. These helper functions also display error messages if the target file does not exist, as opposed to the previous behavior where it would just silently exit nonzero.
- Loading branch information
Showing
2 changed files
with
48 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters