patch 9.1.1561: configure: wayland test can be improved
Problem: configure: wayland test can be improved
Solution: Define $WAYLAND_CFLAGS, simplify the wayland tests
(Christoffer Aasted).
closes: #17772
Signed-off-by: Christoffer Aasted <chr.aasted@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
861dade4e3
commit
138381bde0
10
src/Makefile
10
src/Makefile
@ -3646,19 +3646,19 @@ objects/window.o: window.c
|
||||
$(CCC) -o $@ window.c
|
||||
|
||||
objects/wayland.o: wayland.c
|
||||
$(CCC) -o $@ wayland.c
|
||||
$(CCC) $(WAYLAND_CFLAGS) -o $@ wayland.c
|
||||
|
||||
objects/wlr-data-control-unstable-v1.o: auto/wayland/wlr-data-control-unstable-v1.c
|
||||
$(CCC) -o $@ auto/wayland/wlr-data-control-unstable-v1.c
|
||||
$(CCC) $(WAYLAND_CFLAGS) -o $@ auto/wayland/wlr-data-control-unstable-v1.c
|
||||
|
||||
objects/ext-data-control-v1.o: auto/wayland/ext-data-control-v1.c
|
||||
$(CCC) -o $@ auto/wayland/ext-data-control-v1.c
|
||||
$(CCC) $(WAYLAND_CFLAGS) -o $@ auto/wayland/ext-data-control-v1.c
|
||||
|
||||
objects/xdg-shell.o: auto/wayland/xdg-shell.c
|
||||
$(CCC) -o $@ auto/wayland/xdg-shell.c
|
||||
$(CCC) $(WAYLAND_CFLAGS) -o $@ auto/wayland/xdg-shell.c
|
||||
|
||||
objects/primary-selection-unstable-v1.o: auto/wayland/primary-selection-unstable-v1.c
|
||||
$(CCC) -o $@ auto/wayland/primary-selection-unstable-v1.c
|
||||
$(CCC) $(WAYLAND_CFLAGS) -o $@ auto/wayland/primary-selection-unstable-v1.c
|
||||
|
||||
objects/netbeans.o: netbeans.c
|
||||
$(CCC) -o $@ netbeans.c
|
||||
|
||||
Reference in New Issue
Block a user