Drop CMAKE_SYSROOT from taglib-config

Commit d4c938cbc766ffb400c09efb9e696fce2537d81e is about fixing taglib-config for proper cross-compilation. The fix is right in principle, but wrong about adding `CMAKE_SYSROOT`. The correct prefix path should be set outside of the config file as some embedded Linux distros like OpenWrt or OpenEmbedded install with a different DESTDIR, and dependent packages see a different sysroot.
This commit is contained in:
Jörg Krause 2019-06-16 15:33:52 +02:00 committed by GitHub
parent ba7adc2bc2
commit 18d424995f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,8 +14,8 @@ EOH
exit 1;
}
prefix=@CMAKE_SYSROOT@@CMAKE_INSTALL_PREFIX@
exec_prefix=@CMAKE_SYSROOT@@CMAKE_INSTALL_PREFIX@
prefix=@CMAKE_INSTALL_PREFIX@
exec_prefix=@CMAKE_INSTALL_PREFIX@
libdir=${exec_prefix}/lib
includedir=${prefix}/include