jgabaut/helapordo

[BUG] 1.4.8 fails build for raylib mockup

Closed this issue · 1 comments

Describe the bug
After 1.4.8, the raylib mockup build fails building.

To Reproduce
Steps to reproduce the behavior:

  1. Try building with ./configure --enable-raylib
  2. Build fails due to missing symbols expected from ncurses, which has never been included with raylib build and it should stay so.

Expected behavior
Build succeeds because raylib build should not expect symbols from ncurses. Try to reproduce this from 1.4.7 and it should not happen.

  • Version >=1.4.8

I am fairly sure this is due to s4c-gui always including ncurses and such, so the code would need to make sure that module is not included and built when configuring for this kind of build.

Plus, this line should drop the switch statement since the logic now uses if else constructs.

This was fixed with 1.4.10, which corrects the key names and does some other tucking for the raylib build.