Add dl library because it may be needed by SDL2
Should be fixed to be added only when needed.
This commit is contained in:
parent
618078829c
commit
7b9def299d
|
@ -2,6 +2,7 @@ project('lite', 'c', version: '1.05', default_options : ['c_std=gnu11'])
|
|||
|
||||
cc = meson.get_compiler('c')
|
||||
libm = cc.find_library('m', required : false)
|
||||
libdl = cc.find_library('dl', required : false)
|
||||
|
||||
lua_dep = dependency('lua')
|
||||
sdl_dep = dependency('sdl2', method: 'config-tool')
|
||||
|
|
|
@ -11,6 +11,6 @@ lite_sources = [
|
|||
executable('lite',
|
||||
lite_sources,
|
||||
include_directories: lite_include,
|
||||
dependencies: [lua_dep, sdl_dep, stb_truetype_dep, libm],
|
||||
dependencies: [lua_dep, sdl_dep, stb_truetype_dep, libm, libdl],
|
||||
install: true,
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue