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')
|
cc = meson.get_compiler('c')
|
||||||
libm = cc.find_library('m', required : false)
|
libm = cc.find_library('m', required : false)
|
||||||
|
libdl = cc.find_library('dl', required : false)
|
||||||
|
|
||||||
lua_dep = dependency('lua')
|
lua_dep = dependency('lua')
|
||||||
sdl_dep = dependency('sdl2', method: 'config-tool')
|
sdl_dep = dependency('sdl2', method: 'config-tool')
|
||||||
|
|
|
@ -11,6 +11,6 @@ lite_sources = [
|
||||||
executable('lite',
|
executable('lite',
|
||||||
lite_sources,
|
lite_sources,
|
||||||
include_directories: lite_include,
|
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,
|
install: true,
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue