subprojects: properly export id3tag include headers
According to the Makefile.am from libid3 only i3dtag.h should be installed to the include directory. include_HEADERS = id3tag.h
This commit is contained in:
parent
23b4688c44
commit
a4c7041561
|
@ -1,3 +1,5 @@
|
||||||
|
fs = import('fs')
|
||||||
|
|
||||||
project(
|
project(
|
||||||
'libid3tag', 'c',
|
'libid3tag', 'c',
|
||||||
version: '0.15.1b',
|
version: '0.15.1b',
|
||||||
|
@ -30,7 +32,10 @@ libid3tag = static_library(
|
||||||
'genre.c', 'frame.c', 'crc.c', 'util.c', 'tag.c', 'file.c',
|
'genre.c', 'frame.c', 'crc.c', 'util.c', 'tag.c', 'file.c',
|
||||||
)
|
)
|
||||||
|
|
||||||
|
copy = fs.copyfile('id3tag.h', 'include/id3tag.h')
|
||||||
|
|
||||||
libid3tag_dep = declare_dependency(
|
libid3tag_dep = declare_dependency(
|
||||||
link_with: libid3tag,
|
link_with: libid3tag,
|
||||||
include_directories: include_directories('.'),
|
dependencies: [copy]
|
||||||
|
include_directories: include_directories('include'),
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue