was playing with esound (enlightenment sound daemon) on termux, found
linking error if esound was enabled.

Can anyone please test this patch?

hopefully it does not break default build ...

but sound still does not work in termux - I get segfault.
From 2e0742902c36d8a43f6602b46b9bd58cc6822bef Mon Sep 17 00:00:00 2001
From: Andrew Randrianasulu <[email protected]>
Date: Tue, 24 Sep 2024 04:53:21 +0300
Subject: [PATCH] Fix linking with esound

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

diff --git a/cinelerra-5.1/cinelerra/Makefile b/cinelerra-5.1/cinelerra/Makefile
index 1cb58d50..e8eb1d5b 100644
--- a/cinelerra-5.1/cinelerra/Makefile
+++ b/cinelerra-5.1/cinelerra/Makefile
@@ -464,6 +464,9 @@ LIBS += -lgif -ltheoraenc -ltheoradec -lvorbisfile -lvorbisenc -ltiff
 ifeq ($(shell uname -o), Android)
 LIBS += -landroid-shmem -liconv ../libbthread-master/jpt.a
 endif
+ifeq ($(WANT_ESOUND),yes)
+LIBS += -lesd
+endif
 LIBS += $(shared_libs)
 LIBS += $(system_libs)
 else
-- 
2.46.1

-- 
Cin mailing list
[email protected]
https://lists.cinelerra-gg.org/mailman/listinfo/cin

Reply via email to