From 07c1d1109fb4b959a4bb42f9a537db3c62f71e06 Mon Sep 17 00:00:00 2001
From: Joe Garcia <joe.garcia@ssec.wisc.edu>
Date: Sun, 22 Dec 2019 09:21:01 -0600
Subject: [PATCH] need to repath module

---
 ShellB3/shallbethree.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/ShellB3/shallbethree.sh b/ShellB3/shallbethree.sh
index ea91e659..35496f41 100755
--- a/ShellB3/shallbethree.sh
+++ b/ShellB3/shallbethree.sh
@@ -5417,6 +5417,7 @@ mk_opencv() {
      if [ -e lib/python${PYFSVER}/site-packages/cv2 ] ; then
       ln -s  ../../../../../../../../lib/python${PYFSVER}/site-packages/cv2 \
         Library/Frameworks/Python.framework/Versions/${PYFSVER}/lib/python${PYFSVER}/site-packages/
+      macho_repath --libraries="libopencv*.dylib" --extra-so=lib/python${PYFSVER}/site-packages/cv2
      fi
    fi
 
-- 
GitLab