Skip to content

Commit 6aad8fa

Browse files
ShchvovaSupSuper
authored andcommitted
using legacy SDL to avoid linking issues (otherwise link SDL2 as well, which is weird)
1 parent 6561395 commit 6aad8fa

2 files changed

Lines changed: 7 additions & 5 deletions

File tree

README-macOS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ CMake is used to configure the project. Download it [manually](https://cmake.org
1616

1717
The easiest way of getting library dependencies is [MacPorts](https://www.macports.org/):
1818
```sh
19-
port install libsdl libsdl_gfx libsdl_image libsdl_mixer yaml-cpp
19+
port -N install libsdl -compat +legacy libsdl_gfx libsdl_image libsdl_mixer yaml-cpp
2020
```
2121

2222
Following instructions assume MacPorts is installed in default prefix `/opt/local`. If you installed ports into different location, replace it.

scripts/macports-config.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
version: '2.11.5'
2-
prefix: '/opt/local'
2+
prefix: /opt/local
33
variants:
44
select:
5-
- aqua
6-
- metal
7-
deselect: x11
5+
- universal
86
ports:
97
- name: libsdl
8+
select:
9+
- legacy
10+
deselect:
11+
- compat
1012
- name: libsdl_gfx
1113
- name: libsdl_image
1214
- name: libsdl_mixer

0 commit comments

Comments
 (0)