Skip to content

Commit

Permalink
subprojects: properly export id3tag include headers
Browse files Browse the repository at this point in the history
According to the Makefile.am from libid3 only i3dtag.h should be installed to the include directory.
include_HEADERS =	id3tag.h
  • Loading branch information
DDRBoxman committed Dec 24, 2023
1 parent 6b5937c commit 7a637e9
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion subprojects/packagefiles/id3tag/meson.build
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
fs = import('fs')

project(
'libid3tag', 'c',
version: '0.15.1b',
Expand Down Expand Up @@ -30,7 +32,10 @@ libid3tag = static_library(
'genre.c', 'frame.c', 'crc.c', 'util.c', 'tag.c', 'file.c',
)

copy = fs.copyfile('id3tag.h', 'include/id3tag.h')

libid3tag_dep = declare_dependency(
link_with: libid3tag,
include_directories: include_directories('.'),
dependencies: [copy]
include_directories: include_directories('include'),
)

0 comments on commit 7a637e9

Please sign in to comment.