KallistiOS / kos-ports

Ported library collection for KallistiOS
Other
52 stars 33 forks source link

realpath does not exist on mac #66

Closed andressbarajas closed 4 months ago

andressbarajas commented 4 months ago

realpath does not work on MacOS without installing a brew package. realpath was used to make:

/opt/toolchains/dc/kos/../kos-ports/mruby look like /opt/toolchains/dc/kos-ports/mruby

A fix is available in the environ.sh file in KOS repo here: https://github.com/KallistiOS/KallistiOS/pull/556

darcagn commented 4 months ago

Ugh, I even checked to make sure it was POSIX compliant, but apparently macOS 12 and earlier did not include it, while macOS 13 and later do include it. In the interest of compatibility I'll go ahead and revert this change; sorry about that since I had suggested it.

gyrovorbis commented 3 months ago

Can I just take a moment to say how funny it is that realpath() isn't on freaking MacOS, but we have it on the Dreamcast in KOS... That's some bullshit. ;)