update meson.build

This commit is contained in:
Diaz Urbaneja Victor Diego Alenjandro 2021-01-09 23:17:04 -04:00
parent f8cae11e3d
commit 34c9d0f6da
1 changed files with 2 additions and 1 deletions

View File

@ -4,6 +4,7 @@ project('lite',
c_compiler = meson.get_compiler('c') c_compiler = meson.get_compiler('c')
sdl2_dep = c_compiler.find_library('SDL2') sdl2_dep = c_compiler.find_library('SDL2')
m_dep = c_compiler.find_library('m')
args = '-Wall -O3 -g -std=gnu11 -fno-strict-aliasing ' args = '-Wall -O3 -g -std=gnu11 -fno-strict-aliasing '
sources = [ sources = [
@ -53,5 +54,5 @@ executable('lite',
sources, sources,
cpp_args: args + '-DLUA_USE_POSIX', cpp_args: args + '-DLUA_USE_POSIX',
include_directories: include_directories('src'), include_directories: include_directories('src'),
dependencies: sdl2_dep, dependencies: [sdl2_dep,m_dep],
install: false) install: false)