mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-20 19:45:12 +00:00
Meta: Add FIXME for not setting BUILD_SHARED_LIBS in Lagom build
This is really the business of the consuming project. We will need to make changes to libjs-test262 and to oss-fuzz to address this properly.
This commit is contained in:
parent
a488041d54
commit
368d2ace55
Notes:
sideshowbarker
2024-07-18 03:55:48 +09:00
Author: https://github.com/ADKaster Commit: https://github.com/SerenityOS/serenity/commit/368d2ace551 Pull-request: https://github.com/SerenityOS/serenity/pull/9297 Issue: https://github.com/SerenityOS/serenity/issues/9425 Reviewed-by: https://github.com/bgianfo
1 changed files with 8 additions and 1 deletions
|
@ -38,9 +38,16 @@ if(ENABLE_ALL_THE_DEBUG_MACROS)
|
|||
include(all_the_debug_macros)
|
||||
endif()
|
||||
|
||||
# FIXME: BUILD_SHARED_LIBS has a default of OFF, as it's intended to be set by the
|
||||
# user when configuring the project. We should instead change libjs-test262
|
||||
# and oss-fuzz to set this option on their end, and enable it by default in
|
||||
# Meta/serenity.sh
|
||||
# This is #9867. We can change the oss-fuzz escape hatch to be a FATAL_ERROR
|
||||
# message instead when implementing it.
|
||||
option(BUILD_SHARED_LIBS "Build shared libraries instead of static libraries" ON)
|
||||
if (ENABLE_OSS_FUZZ)
|
||||
set(BUILD_SHARED_LIBS OFF) # Don't use shared libraries on oss-fuzz, for ease of integration with their infrastructure
|
||||
# Don't use shared libraries on oss-fuzz, for ease of integration with their infrastructure
|
||||
set(BUILD_SHARED_LIBS OFF CACHE BOOL "Build shared libraries instead of static libraries" FORCE)
|
||||
endif()
|
||||
|
||||
find_package(Threads REQUIRED)
|
||||
|
|
Loading…
Add table
Reference in a new issue