mirror of
https://github.com/libretro/RetroArch.git
synced 2026-11-07 08:36:02 -10:00
build: ask for a reconfigure when the wayland protocol list changes
configure generates the Wayland protocol sources, so a tree configured before a protocol was added has no way to make the new object and stops on a missing file. config.mk depends on the generator script too, so make asks for the reconfigure that produces it, as it already does for configure and qb.
This commit is contained in:
1 parent
0c0cd89068
commit
b40db2251a
1 file changed
+4
-1
@@ -235,7 +235,10 @@ config.mk:
|
||||
else
|
||||
-include $(RARCH_OBJ:.o=.d)
|
||||
ifeq ($(HAVE_CONFIG_MK),)
|
||||
config.mk: configure qb/*
|
||||
# The Wayland protocol sources are generated by configure, so a tree
|
||||
# configured before a protocol was added has no way to make the new
|
||||
# object: ask for the reconfigure rather than fail on a missing file.
|
||||
config.mk: configure qb/* gfx/common/wayland/generate_wayland_protos.sh
|
||||
@echo "config.mk is outdated or non-existing. Run ./configure again."
|
||||
@exit 1
|
||||
endif
|
||||
|
||||
Reference in new issue
Block a user