Skip to content

Commit

Permalink
Fix make on systems with wx-config
Browse files Browse the repository at this point in the history
Void uses wx-config-gtk3, but Ubuntu seems to stick to wx-config. So this tries both options.
  • Loading branch information
onli committed Dec 5, 2023
1 parent 3d7af64 commit 5f66a6f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,11 @@ SHELL ?= /bin/sh
CC = g++
CCFLAGS ?= -O2
DEPS = $(shell pkg-config --libs --cflags glib-2.0 gconf-2.0 gtk+-3.0 libwnck-3.0 xcb-ewmh librsvg-2.0)
DEPS += $(shell wx-config-gtk3 --cflags --libs)
ifneq (, $(shell which wx-config))
DEPS += $(shell wx-config --cflags --libs)
else
DEPS += $(shell wx-config-gtk3 --cflags --libs)
endif

.PHONY: install uninstall

Expand Down

0 comments on commit 5f66a6f

Please sign in to comment.