meson/megadriver: support various lib suffixes
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32333>
(cherry picked from commit ffd02b8ad8
)
Conflicts:
bin/install_megadrivers.py
This commit is contained in:

committed by
Dylan Baker

parent
6865204891
commit
95dd4c1992
@@ -20,6 +20,11 @@ project(
|
||||
if host_machine.system() == 'darwin'
|
||||
add_languages('objc', native : false)
|
||||
add_project_arguments('-fobjc-arc', language : 'objc')
|
||||
libname_suffix = 'dylib'
|
||||
elif host_machine.system() == 'windows'
|
||||
libname_suffix = 'dll'
|
||||
else
|
||||
libname_suffix = 'so'
|
||||
endif
|
||||
|
||||
cc = meson.get_compiler('c')
|
||||
|
Reference in New Issue
Block a user