Update Makefile script to stop LOVE (and its dependent libraries) picking libraries from system.

This commit is contained in:
Miku AuahDark
2024-01-29 01:03:00 +08:00
parent 34a4987685
commit a945d735c6
3 changed files with 18 additions and 29 deletions
+2 -2
View File
@@ -12,13 +12,13 @@ First, install these dependencies (adapt accordingly for non-Debian distro):
sudo apt-get install autotools-dev automake autoconf libtool patchelf curl pkg-config
```
Then followed by [all dependencies required by SDL](https://github.com/libsdl-org/SDL/blob/main/docs/README-linux.md#build-dependencies), but **not** the SDL itself.
Then followed by [all dependencies required by SDL](https://github.com/libsdl-org/SDL/blob/SDL2/docs/README-linux.md#build-dependencies), but **not** the SDL itself.
Afterwards, run `make`. `love-main.AppImage` and `love-main.tar.gz` (by default) will be generated. See the Makefile script for various tweakable variables.
Notes:
* If you're getting FUSE error in Ubuntu 22.04 or later, install `libfuse2`. Ubuntu 22 start switching to FUSE 3 which is NOT SUPPORTED by AppImage!
* For Ubuntu ARM64, ff APT can't find `libsndio-dev` and `fcitx-libs-dev`, make sure to add `universe` repository!
* For Ubuntu ARM64, if APT can't find `libsndio-dev` and `fcitx-libs-dev`, make sure to add `universe` repository!
* If you're running WSL 1, run with `make QEMU=env` to bypass FUSE requirement restrictions by extrating `appimagetool` first.
License