mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-07 11:39:44 +03:00
565a880ce5
This is partially a revert of commits:10a8b6d411
561b67a1ad
Rather than adding the prot_exec pledge requried to use dlopen(), we can link directly against LibUnicodeData in applications that we know need that library. This might make the dlopen() dance a bit unnecessary. The same purpose might now be fulfilled with weak symbols. That can be revisted next, but for now, this at least removes the potential security risk of apps like the Browser having prot_exec privileges.
18 lines
313 B
CMake
18 lines
313 B
CMake
serenity_component(
|
|
Help
|
|
RECOMMENDED
|
|
TARGETS Help
|
|
)
|
|
|
|
set(SOURCES
|
|
History.cpp
|
|
main.cpp
|
|
ManualModel.cpp
|
|
ManualPageNode.cpp
|
|
ManualSectionNode.cpp
|
|
)
|
|
|
|
serenity_app(Help ICON app-help)
|
|
target_link_libraries(Help LibWeb LibMarkdown LibGUI LibDesktop LibMain)
|
|
link_with_unicode_data(Help)
|