Remove need for javascriptcore

This commit is contained in:
Lea Anthony 2024-02-13 20:56:19 +11:00 committed by Travis McLane
commit 430736a4f2
2 changed files with 2 additions and 3 deletions

View file

@ -1,7 +1,7 @@
package operatingsystem
/*
#cgo linux pkg-config: gtk+-3.0 webkit2gtk-4.0 javascriptcoregtk-4.1
#cgo linux pkg-config: gtk+-3.0 webkit2gtk-4.0
#include <webkit2/webkit2.h>
*/
import "C"

View file

@ -14,9 +14,8 @@ import (
)
/*
#cgo linux pkg-config: gtk+-3.0 webkit2gtk-4.0 javascriptcoregtk-4.1 gdk-3.0
#cgo linux pkg-config: gtk+-3.0 webkit2gtk-4.0 gdk-3.0
#include <JavaScriptCore/JavaScript.h>
#include <gtk/gtk.h>
#include <gdk/gdk.h>
#include <webkit2/webkit2.h>