From 0788c3145124e4cf144df77fb6ff236412ca3c89 Mon Sep 17 00:00:00 2001
From: Andrew Randrianasulu <randrianasulu@gmail.com>
Date: Tue, 8 Nov 2022 07:25:50 +0300
Subject: [PATCH] Fix shared build on non-std X11 location

---
 cinelerra-5.1/cinelerra/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/cinelerra-5.1/cinelerra/Makefile b/cinelerra-5.1/cinelerra/Makefile
index e177049b..965e8316 100644
--- a/cinelerra-5.1/cinelerra/Makefile
+++ b/cinelerra-5.1/cinelerra/Makefile
@@ -448,6 +448,7 @@ LIBS += `pkg-config --libs uuid 2>/dev/null`
 LIBS += `pkg-config --libs theora 2>/dev/null`
 LIBS += `pkg-config --libs vorbis 2>/dev/null`
 LIBS += `pkg-config --libs sndfile 2>/dev/null`
+LIBS += `pkg-config --libs x11 2>/dev/null`
 ifeq ($(WANT_LIBZMPEG),yes)
 LIBS += -la52 -ltwolame -lmp3lame
 endif
-- 
2.30.4

