meson/test cases/common/54 install script
Xavier Claessens 0626465ea8 Fix executable as script on Windows
On Windows this would fail because of missing DLL:
```
mylib = library(...)
exe = executable(..., link_with: mylib)
meson.add_install_script(exe)
```

The reason is on Windows we cannot rely on rpath to find libraries from
build directory, they are searched in $PATH. We already have all that
mechanism in place for custom_target() using ExecutableSerialisation
class, so reuse it for install/dist/postconf scripts too.

This has bonus side effect to also use exe_wrapper for those scripts.

Fixes: #8187
2021-01-30 09:51:06 +00:00
..
src Fix executable as script on Windows 2021-01-30 09:51:06 +00:00
customtarget.py Condense test directory names again. 2020-11-03 21:05:20 +02:00
meson.build Fix executable as script on Windows 2021-01-30 09:51:06 +00:00
myinstall.py intepreter: Allow using file objects for the script_name of add_*_script 2021-01-27 21:59:55 +00:00
prog.c Fix executable as script on Windows 2021-01-30 09:51:06 +00:00
test.json intepreter: Allow using file objects for the script_name of add_*_script 2021-01-27 21:59:55 +00:00