mirror of
https://github.com/SerenityOS/serenity
synced 2024-09-30 05:05:10 +00:00
Ports/gpgme: Prefix CMakeConfig file with ${CMAKE_SYSROOT}
The automatically created CMakeConfig file was not working for cross-compilation. We now prefix the path with `${CMAKE_SYSROOT}` to have it work on host and target.
This commit is contained in:
parent
29521b50e6
commit
65fd70c890
|
@ -18,3 +18,7 @@ configopts=(
|
|||
"--with-libassuan-prefix=${SERENITY_INSTALL_ROOT}/usr/local"
|
||||
"--with-sysroot=${SERENITY_INSTALL_ROOT}"
|
||||
)
|
||||
|
||||
post_install() {
|
||||
run sed -i 's#/usr/local#${CMAKE_SYSROOT}/usr/local#g' ${SERENITY_INSTALL_ROOT}/usr/local/lib/cmake/Gpgmepp/GpgmeppConfig.cmake
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue