mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
libmediainfo: add shared library build
Currently libmediainfo only builds the static library. Allow creation of shared library for applications that need it, including service.nextpvr Tested with service.nextpvr, standalone mediainfo unchanged.
This commit is contained in:
parent
0f7e211b8e
commit
eb952e7746
@ -20,7 +20,7 @@ configure_target() {
|
||||
--host=${TARGET_NAME} \
|
||||
--build=${HOST_NAME} \
|
||||
--enable-static \
|
||||
--disable-shared \
|
||||
--enable-shared \
|
||||
--prefix=/usr \
|
||||
--enable-visibility
|
||||
}
|
||||
@ -36,6 +36,8 @@ makeinstall_target() {
|
||||
mkdir -p ${INSTALL}/usr/include/MediaInfo/${i}/
|
||||
cp -aP ../../../Source/MediaInfo/${i}/*.h ${INSTALL}/usr/include/MediaInfo/${i}/
|
||||
done
|
||||
cp -P .libs/* ${INSTALL}/usr/lib
|
||||
|
||||
# only install static library, so mediainfo does not build with shared library
|
||||
cp -P .libs/libmediainfo.a ${INSTALL}/usr/lib
|
||||
cp -P libmediainfo.pc ${INSTALL}/usr/lib/pkgconfig
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user