update to support go install

- default to webkit2gtk-4.1 if not overridden to be 4.0
This commit is contained in:
Travis McLane
2024-05-08 17:33:55 -05:00
parent 5ffceffbd0
commit 47b561f778
6 changed files with 8 additions and 8 deletions
+3 -3
View File
@@ -3,9 +3,9 @@
package application
/*
#cgo linux pkg-config: gtk+-3.0
#cgo webkit2_40 pkg-config: webkit2gtk-4.0 libsoup-2.4
#cgo webkit2_41 pkg-config: webkit2gtk-4.1 libsoup-3.0
#cgo linux pkg-config: gtk+-3.0
#cgo webkit2_40 pkg-config: webkit2gtk-4.0 libsoup-2.4
#cgo !webkit2_40 pkg-config: webkit2gtk-4.1 libsoup-3.0
#include "gtk/gtk.h"
#include "webkit2/webkit2.h"