Commit 9f946d2d authored by Jan Alexander Steffens's avatar Jan Alexander Steffens Committed by Arun Raghavan

meson: Fix installation of headers

To match Autotools:
 - internal.h should not be installed
 - Install simple.h and version.h
parent 8e98ed94
Pipeline #51306 passed with stage
in 5 minutes and 36 seconds
configure_file(input : 'version.h.in', output : 'version.h', configuration : cdata)
configure_file(
input : 'version.h.in',
output : 'version.h',
configuration : cdata,
install_dir : join_paths(includedir, 'pulse'),
)
libpulse_sources = [
'channelmap.c',
......@@ -9,6 +14,7 @@ libpulse_sources = [
'ext-device-restore.c',
'ext-stream-restore.c',
'format.c',
'internal.h',
'introspect.c',
'mainloop-api.c',
'mainloop-signal.c',
......@@ -40,7 +46,6 @@ libpulse_headers = [
'ext-stream-restore.h',
'format.h',
'gccmacro.h',
'internal.h',
'introspect.h',
'mainloop-api.h',
'mainloop-signal.h',
......@@ -77,7 +82,8 @@ libpulse = shared_library('pulse',
libpulse_dep = declare_dependency(link_with: libpulse)
install_data(libpulse_headers,
install_data(
libpulse_headers, 'simple.h',
install_dir : join_paths(includedir, 'pulse')
)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment