orca-slicer: remove dependency on libsoup2

This commit is contained in:
Lin Xianyi
2025-08-04 12:37:42 +08:00
parent aa5f4abb1d
commit 1b48f9f105
2 changed files with 5 additions and 6 deletions
+2 -2
View File
@@ -35,7 +35,7 @@
pcre,
systemd,
tbb_2021,
webkitgtk_4_0,
webkitgtk_4_1,
wxGTK31,
xorg,
libnoise,
@@ -112,7 +112,7 @@ stdenv.mkDerivation (finalAttrs: {
openvdb
pcre
tbb_2021
webkitgtk_4_0
webkitgtk_4_1
wxGTK'
xorg.libX11
opencv.cxxdev
@@ -20,15 +20,14 @@ index 9c5cb96..e92a0e3 100644
@@ -175,6 +175,11 @@ if (WIN32)
target_link_libraries(BambuStudio_app_gui PRIVATE boost_headeronly)
endif ()
+# We link against webkit2gtk symbols in src/slic3r/GUI/Widgets/WebView.cpp
+if (CMAKE_SYSTEM_NAME STREQUAL "Linux")
+ target_link_libraries(libslic3r_gui "-lwebkit2gtk-4.0")
+ target_link_libraries(libslic3r_gui "-lwebkit2gtk-4.1")
+endif ()
+
# Link the resources dir to where Slic3r GUI expects it
set(output_dlls_Release "")
set(output_dlls_Debug "")
--
--
2.38.1