On Saturday, May 7, 2022, Phyllis Smith <phylsmith2017@gmail.com> wrote:
Andrew,
I do not understand what WANT_CIN_3RDPARTY is 



variable telling buildsystem we want to build/link with libraries in thirdparty folder (our default) 



and consequently do not know whether adding patch:
   0024-Add-android-only-hacked-Dynamic-makefile-libs.patch (along with 0018)
for additional LIBS will affect other people who ae doing their own builds.  What I am concerned about is in bold letters below for the addition of the LIBS.   Is there an explanation that I can understand?


without those lines dynamic build (default on BSD, but after all my patches should be possible on linux too) fail at linking stage.... this section should come into play only if user build Cin without thirdparty libs (currently broken) 
 

From cinelerra/Makefile:
ifeq ($(WANT_CIN_3RDPARTY),no)
LIBS += -lavcodec -lavdevice -lavfilter -lavformat -lavutil
LIBS += -lswresample -lswscale
PLATFORM = $(shell uname -s)
ifneq (, $(filter $(PLATFORM), FreeBSD NetBSD))
LIBS += -lintl -liconv
LIBS += -lexecinfo

+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 tiff`
+LIBS += `pkg-config --libs sndfile`
+LIBS += -lgif -l:libtheora.a -l:libvorbis.a -ltiff
+LIBS += -landroid-shmem -liconv jpt.a


LIBS += $(shared_libs)
LIBS += $(system_libs)