see also 3rd one )

I hope it fixes Makefile complains introduced by me in restoring shared
build

сб, 5 нояб. 2022 г., 00:38 Phyllis Smith <[email protected]>:

> Both configure.ac patches have been tested by Andrea and now checked into
> GIT.  Thanks.
>
> On Thu, Nov 3, 2022 at 6:00 AM Andrew Randrianasulu <
> [email protected]> wrote:
>
>> First one adds no-unknown-warnings cflag back especially if clang was
>> requested (reduces amount of clang chatter)
>>
>> second one address (hopefully) pkg-config's loud complains about missing
>> libs or headers during configure. I tested it briefly on Android/termux and
>> it seems to work, but better testing much wished for.
>>
>> If Phyllis will like second patch I can add the same '2>/dev/null'  to
>> cinelerra/Makefile, where same pkg-config added by me complains
>> (harmlessly) about not found libs.
>>
>> Thing is, I prefer detailed output in case something goes wrong. But I do
>> not mind silencing some parts I added in hope my memory will serve me!
>>
>
From 6f8616421c6b677cedc02c1123547b5a9360dd22 Mon Sep 17 00:00:00 2001
From: Andrew Randrianasulu <[email protected]>
Date: Thu, 3 Nov 2022 15:03:59 +0300
Subject: [PATCH 3/3] Silence pkg-configs from cinelerra/Makefile

---
 cinelerra-5.1/cinelerra/Makefile | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/cinelerra-5.1/cinelerra/Makefile b/cinelerra-5.1/cinelerra/Makefile
index d9ff3b93..e177049b 100644
--- a/cinelerra-5.1/cinelerra/Makefile
+++ b/cinelerra-5.1/cinelerra/Makefile
@@ -441,13 +441,13 @@ ifneq (, $(filter $(PLATFORM), FreeBSD NetBSD))
 LIBS += -lintl -liconv
 LIBS += -lexecinfo
 endif
-LIBS += `pkg-config --libs OpenEXR`
-LIBS += `pkg-config --libs flac`
-LIBS += `pkg-config --libs libjpeg`
-LIBS += `pkg-config --libs uuid`
-LIBS += `pkg-config --libs theora`
-LIBS += `pkg-config --libs vorbis`
-LIBS += `pkg-config --libs sndfile`
+LIBS += `pkg-config --libs OpenEXR 2>/dev/null`
+LIBS += `pkg-config --libs flac 2>/dev/null`
+LIBS += `pkg-config --libs libjpeg 2>/dev/null`
+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`
 ifeq ($(WANT_LIBZMPEG),yes)
 LIBS += -la52 -ltwolame -lmp3lame
 endif
-- 
2.38.1

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

Reply via email to