Files
genode-world/lib/mk
Norman Feske c070e64bd4 libsdl: config tweaks, remove sdlmain lib
This patch contains changes to the libSDL port that were needed to build
the Hatari emulator using cmake.

- Since SDL programs cannot use the posix library (because sdl's init
  function needs a way to get hold of the Genode env), the sdl_main
  library must be used instead of the posix library. The sdl_main
  code implements the Libc::Component::construct function for the
  final binary. However, 3rd-party build systems are not aware of this
  Genode-specific peculiarity and thereby create binaries that leave
  libsdl uninitialized. This patch adds the sdl_main to libsdl by
  default and thereby eliminates the need for specifying the extra
  sdl_main library. Customizing the Libc::Component::construct is
  still possible by overriding the library-provided implementation
  in the main program.

- A few missing config definitions are added to compile Hatari
  successfully.

- Avoid reliance on the include/SDL convention in SDL_config.h

- Cmake relies on the upper-case naming of the library with no way
  to tweak this convention. So we install an symlink named `SDL.lib.so`
  when installing the library into the <build-dir>/bin/ directory.

Fixes #161
2019-05-14 11:45:43 +02:00
..
2019-05-07 10:14:34 +02:00
2018-01-17 19:27:10 +01:00
2019-02-18 16:42:41 +01:00
2019-03-05 11:16:51 +01:00
2018-01-17 19:27:10 +01:00
2019-01-04 12:06:30 +01:00
2019-01-04 12:06:30 +01:00
2019-01-04 12:06:30 +01:00
2019-01-04 12:06:30 +01:00
2019-01-04 12:06:30 +01:00
2019-01-04 12:06:30 +01:00
2019-01-10 16:44:30 +01:00
2019-02-26 14:37:13 +01:00
2018-01-17 19:27:10 +01:00
2018-01-17 19:27:10 +01:00
2017-09-27 16:41:57 +02:00
2018-01-17 19:27:10 +01:00
2018-01-17 19:27:10 +01:00
2018-01-17 19:27:10 +01:00
2018-01-17 19:27:10 +01:00
2018-01-17 19:27:10 +01:00
2018-01-17 19:27:10 +01:00
2018-01-17 19:27:10 +01:00
2018-11-27 14:39:49 +01:00
2018-11-27 14:39:49 +01:00
2018-11-27 14:39:49 +01:00
2018-11-27 14:39:49 +01:00
2018-02-06 09:52:05 +01:00
2019-02-21 10:30:54 +01:00
2018-11-27 14:39:49 +01:00
2018-01-17 19:27:10 +01:00
2018-02-23 21:26:03 +01:00
2018-01-17 19:27:10 +01:00
2019-02-18 16:45:48 +01:00
2018-10-01 10:26:08 +02:00
2018-01-17 19:27:10 +01:00
2018-05-14 13:41:00 +02:00
2018-01-17 19:27:10 +01:00
2018-04-10 17:32:28 +02:00
2018-01-17 19:27:10 +01:00
2018-01-17 19:27:10 +01:00
2018-01-17 19:27:10 +01:00
2018-01-17 19:27:10 +01:00
2019-01-10 16:44:30 +01:00
2019-03-05 18:34:42 +01:00
2019-05-14 10:41:38 +02:00
2018-01-17 19:27:10 +01:00
2018-01-17 19:27:10 +01:00
2018-01-17 19:27:10 +01:00
2018-11-27 14:39:49 +01:00
2018-01-17 19:27:10 +01:00
2018-11-27 14:39:49 +01:00
2019-01-21 14:24:28 +01:00
2019-01-21 14:24:28 +01:00
2019-01-21 14:24:28 +01:00
2019-05-14 10:41:15 +02:00
2018-10-01 10:26:28 +02:00
2018-06-27 09:03:37 +02:00
2018-01-17 19:27:10 +01:00
2018-01-17 19:27:10 +01:00
2018-12-27 00:13:08 +01:00
2018-01-17 19:27:10 +01:00
2019-01-04 12:06:30 +01:00
2018-01-17 19:27:10 +01:00
2018-01-17 19:27:10 +01:00
2018-01-17 19:27:10 +01:00