Mention a workaround for relative paths with Meson

I'm not quite sure why this behavior is different with the same version
of Meson under different distros.
This commit is contained in:
Robbert van der Helm
2020-05-05 14:18:25 +02:00
parent c6ce15cfe9
commit f1f87e1c6e
+20
View File
@@ -174,6 +174,26 @@ meson setup --buildtype=release --cross-file cross-wine.conf build
ninja -C build
```
If you're getting an error similar to this:
```shell
meson.build:45:0: ERROR: could not get file:../subprojects/bitsery-patch.tar.xz is the internet available?
```
Then you could try to start the build from the build directory. This seems to be
caused by Meson resolving relative paths differently on different distributions.
```shell
# Remove any already downloaded and Meson subprojects, since this will otherwise
# cause a conflict
git clean -Xf subprojects/
mkdir -p build
cd build
meson setup --buildtype=release --cross-file ../cross-wine.conf
ninja
```
### 32-bit bitbridge
It is also possible to compile a host application for yabridge that's compatible