0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-05-10 02:15:29 +00:00
Files
termux-packages/packages/toxic/cfg-checks-video.mk.patch
Robert Kirkman fb5a8ee5a7 fix(main/toxic): disable build-time check for x11
- Progress on #23492

- Fixes building `toxic` at bootstrappability tiers 3 and 4:
  - (the command `scripts/run-docker.sh ./build-package.sh -I libx11 libvpx openal-soft toxic`)
  - Error: `video_call.c:58:16: error: no member named 'av' in 'struct Toxic'`
2025-04-14 08:01:41 -05:00

12 lines
345 B
Diff

--- a/cfg/checks/video.mk
+++ b/cfg/checks/video.mk
@@ -8,7 +8,7 @@ else
endif
# Check if we can build video support
-CHECK_VIDEO_LIBS = $(shell $(PKG_CONFIG) --exists $(VIDEO_LIBS) || echo -n "error")
+CHECK_VIDEO_LIBS = $(shell echo -n "error")
ifneq ($(CHECK_VIDEO_LIBS), error)
LIBS += $(VIDEO_LIBS)
CFLAGS += $(VIDEO_CFLAGS)