blob: a0487fa2e4aeac8c5d9097b817333fc96c25f624 [file] [log] [blame]
Andrew Geissler517393d2023-01-13 08:55:19 -06001From 34e4f4dad923095989ccb0ab8efb883c592bdbfd Mon Sep 17 00:00:00 2001
2From: Vincent Davis Jr <vince@underview.tech>
3Date: Fri, 9 Dec 2022 20:04:27 -0600
4Subject: [PATCH] remove xorg related link libs
5
6Upstream-Status: Inappropriate
7
8RPI-Distro repo forks original vlc and applies patches
9to enable raspiberry pi support.
10
11If x11 isn't defined in DISTRO_FEATURES
12required xorg related libs are not included
13in recipe-sysroot resulting in compilation
14failure.
15
16Signed-off-by: Vincent Davis Jr <vince@underview.tech>
17---
18 modules/hw/mmal/Makefile.am | 2 +-
19 1 file changed, 1 insertion(+), 1 deletion(-)
20
21diff --git a/modules/hw/mmal/Makefile.am b/modules/hw/mmal/Makefile.am
22index 4abe68e2e..86dad2c2d 100644
23--- a/modules/hw/mmal/Makefile.am
24+++ b/modules/hw/mmal/Makefile.am
25@@ -8,7 +8,7 @@ libmmal_vout_plugin_la_SOURCES = vout.c mmal_cma.c mmal_picture.c subpic.c\
26 mmal_cma.h mmal_picture.h subpic.h transform_ops.h\
27 mmal_piccpy_neon.S
28 libmmal_vout_plugin_la_CFLAGS = $(AM_CFLAGS)
29-libmmal_vout_plugin_la_LDFLAGS = $(AM_LDFLAGS) -lm -lX11 -lXrandr
30+libmmal_vout_plugin_la_LDFLAGS = $(AM_LDFLAGS) -lm
31 libmmal_vout_plugin_la_LIBADD = $(LIBS_mmal)
32 mmal_LTLIBRARIES = libmmal_vout_plugin.la
33
34--
352.38.1
36