mirror of
https://github.com/taglib/taglib.git
synced 2025-06-04 01:28:21 -04:00
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:
parent
ba7adc2bc2
commit
18d424995f
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user