Skip to content

Commit

Permalink
Fix pkg-config webkit version picking
Browse files Browse the repository at this point in the history
Add additional command pipeline to sort and ensure the latest
version of `webkit4.*` is being picked by `grep`'d `pkg-config`.

Fixes: #77
Fixes: #80
  • Loading branch information
SpacingBat3 committed Jan 1, 2025
1 parent 6a6ae66 commit cfc55f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion login/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
CC = g++
FLAGS = `pkg-config --cflags --libs gtk+-3.0 $(shell pkg-config --list-package-names | grep webkit2gtk-4.)`
FLAGS = `pkg-config --cflags --libs gtk+-3.0 $(shell pkg-config --list-package-names | grep webkit2gtk-4. | sort | tail -n1)`

all: login
.PHONY: all
Expand Down

0 comments on commit cfc55f1

Please sign in to comment.