mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-25 09:00:22 +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
Notes:
sideshowbarker
2024-07-17 05:58:46 +09:00
Author: https://github.com/fdellwing Commit: https://github.com/SerenityOS/serenity/commit/65fd70c890 Pull-request: https://github.com/SerenityOS/serenity/pull/23760 Reviewed-by: https://github.com/ADKaster Reviewed-by: https://github.com/timschumi ✅
1 changed files with 4 additions and 0 deletions
|
@ -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