build: fix build on macOS

This commit is contained in:
Christian Hergert
2019-06-04 14:35:48 -07:00
parent af2a17daa5
commit 807bff9152
9 changed files with 15 additions and 11 deletions

View File

@ -92,7 +92,7 @@ endif
if host_machine.system() == 'darwin'
libsysprof_deps += [ dependency('libelf') ]
libsysprof_c_args = [ '-DNT_GNU_BUILD_ID=3', '-DELF_NOTE_GNU="GNU"', '-D__LIBELF_INTERNAL__' ]
libsysprof_c_args += [ '-DNT_GNU_BUILD_ID=3', '-DELF_NOTE_GNU="GNU"', '-D__LIBELF_INTERNAL__' ]
endif
if host_machine.system() != 'darwin'