Skip to content

Commit

Permalink
add support for webkitgtk-4.1, if folder exists
Browse files Browse the repository at this point in the history
  • Loading branch information
marcvs committed Aug 23, 2024
1 parent 999ee30 commit 13aa88f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,10 @@ CPPFLAGS += -fPIC
ifndef MAC_OS
ifndef ANY_MSYS
WEBKITGTK ?= webkit2gtk-4.0
WEBKITGTK41:= $(firstword $(wildcard /usr/include/webkitgtk-4.1))
ifneq (,$(WEBKITGTK41))
WEBKITGTK=webkit2gtk-4.1
endif
CPPFLAGS += $(shell pkg-config --cflags --libs gtk+-3.0 $(WEBKITGTK)) -lstdc++
endif
endif
Expand Down

0 comments on commit 13aa88f

Please sign in to comment.