]> sigrok.org Git - sigrok-util.git/blobdiff - cross-compile/macosx/create_dmg
macosx: Fix another instance that needs the Python 3.6 -> 3.7 bump.
[sigrok-util.git] / cross-compile / macosx / create_dmg
index 0b2326bd7e380a39c3cdfd4bb942265870015c76..d08cd7e14aa26da59f30e18a9a7a001c8365180d 100755 (executable)
@@ -35,7 +35,7 @@ BOOSTLIBDIR=`brew list boost | grep libboost_system | head -n 1 | xargs dirname`
 # Path to Python 3 framework.
 PYTHONFRAMEWORKDIR=`brew list python3 | grep Python.framework | head -n 1 | xargs dirname`/../../../..
 
-PYVER="3.6"
+PYVER="3.7"
 
 # You usually don't need to change anything below this line.
 
@@ -92,7 +92,7 @@ rm -rf $PYDIR/lib/python$PYVER/**/__pycache__
 rm -rf $PYDIR/lib/python$PYVER/**/**/__pycache__
 rm -rf $PYDIR/Resources
 install_name_tool -change \
-       /usr/local/opt/python3/Frameworks/Python.framework/Versions/$PYVER/Python \
+       /usr/local/opt/python/Frameworks/Python.framework/Versions/$PYVER/Python \
        @executable_path/../Frameworks/Python.framework/Versions/$PYVER/Python \
        $FRAMEWORKSDIR/libsigrokdecode.*.dylib