From b3feffe1923570c7c7218c633d92be2acc05f16f Mon Sep 17 00:00:00 2001
From: Andrew Randrianasulu <randrianasulu@gmail.com>
Date: Mon, 28 Mar 2022 22:19:13 +0300
Subject: [PATCH 39/66] pkg-config based dynamic openexr link fix for
 freebsdv13

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

diff --git a/cinelerra-5.1/cinelerra/Makefile b/cinelerra-5.1/cinelerra/Makefile
index 30f5e2c6..a0e08d5d 100644
--- a/cinelerra-5.1/cinelerra/Makefile
+++ b/cinelerra-5.1/cinelerra/Makefile
@@ -438,7 +438,7 @@ LIBS += -lavcodec -lavdevice -lavfilter -lavformat -lavutil
 LIBS += -lswresample -lswscale
 LIBS += -lintl -liconv
 LIBS += -lexecinfo
-
+LIBS += `pkg-config --libs OpenEXR`
 LIBS += $(shared_libs)
 LIBS += $(system_libs)
 else
-- 
2.35.1

