meson: Avoid passing GNU linker arguments to Solaris linker

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
This commit is contained in:
Alan Coopersmith 2024-09-18 13:33:16 -07:00
parent 6caccb42b4
commit d5df5e9c32
2 changed files with 2 additions and 2 deletions

View file

@ -305,7 +305,7 @@ all_modules += [
# FIXME: meson doesn't support multiple RPATH arguments currently
rpath_dirs = join_paths(privlibdir) + ':' + join_paths(modlibexecdir)
if host_machine.system() != 'windows' and host_machine.system() != 'darwin'
if host_machine.system() != 'windows' and host_machine.system() != 'darwin' and host_machine.system() != 'sunos'
no_undefined_args = ['-Wl,--no-undefined']
else
no_undefined_args = []

View file

@ -70,7 +70,7 @@ if glib_dep.found()
libpulse_headers += 'glib-mainloop.h'
endif
if host_machine.system() != 'windows' and host_machine.system() != 'darwin'
if host_machine.system() != 'windows' and host_machine.system() != 'darwin' and host_machine.system() != 'sunos'
run_target('update-map-file',
command : [ join_paths(meson.source_root(), 'scripts/generate-map-file.sh'), 'map-file', 'libpulse.def',
[ libpulse_headers, 'simple.h', join_paths(meson.build_root(), 'src', 'pulse', 'version.h') ] ])