summaryrefslogtreecommitdiff
path: root/Meta
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2021-11-22 19:25:30 +0000
committerAndreas Kling <kling@serenityos.org>2021-11-22 23:07:43 +0100
commitcfecfbb2143ecf107020c8dc499645a58a63071a (patch)
tree5d47f07a3acdb876204a6f0a4b916aefb6bb5d17 /Meta
parentba0f89a4d10a07027a40ae3d85e6b82e5cc4dd63 (diff)
downloadserenity-cfecfbb2143ecf107020c8dc499645a58a63071a.zip
js: Port to LibMain :^)
This wasn't particularly difficult, and there's not much use for the nicer interface yet either. While unveil() is of limited use in js(1) as it should be able to open arbitrary files, I feel like we should be able to add a pledge() call.
Diffstat (limited to 'Meta')
-rw-r--r--Meta/Lagom/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Meta/Lagom/CMakeLists.txt b/Meta/Lagom/CMakeLists.txt
index 89d8597cdf..e7dcede738 100644
--- a/Meta/Lagom/CMakeLists.txt
+++ b/Meta/Lagom/CMakeLists.txt
@@ -455,7 +455,7 @@ if (BUILD_LAGOM)
add_executable(js_lagom ../../Userland/Utilities/js.cpp)
set_target_properties(js_lagom PROPERTIES OUTPUT_NAME js)
- target_link_libraries(js_lagom LagomJS LagomLine Threads::Threads)
+ target_link_libraries(js_lagom LagomJS LagomLine LagomMain Threads::Threads)
add_executable(markdown-check_lagom ../../Userland/Utilities/markdown-check.cpp)
set_target_properties(markdown-check_lagom PROPERTIES OUTPUT_NAME markdown-check)