diff --git a/src/meson.build b/src/meson.build index f416e6655..1b84e6f37 100644 --- a/src/meson.build +++ b/src/meson.build @@ -12,8 +12,10 @@ source_c = [ 'external/stb_vorbis.c', ] -raylib = shared_library('raylib', - source_c, - dependencies : [ glfw_dep, gl_dep, openal_dep, m_dep, x11_dep], - install : true) +# use 'meson --default-library=static builddir' to build as static, if no builddir yet exists +# use 'mesonconf -Ddefault_library=static builddir' to change the type +raylib = library('raylib', + source_c, + dependencies : [ glfw_dep, gl_dep, openal_dep, m_dep, x11_dep], + install : true)