]> sigrok.org Git - sigrok-util.git/blobdiff - cross-compile/macosx/create_dmg
sigrok-native-macosx: Fix incorrect Python 3.6 install_name.
[sigrok-util.git] / cross-compile / macosx / create_dmg
index 7b4b12c73ca6c725339a8836f381179aad8d4451..b9ae26ac7c91990969d36747b1ea60ed7ed097f2 100755 (executable)
@@ -92,11 +92,11 @@ 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
 
-# Add PulseView wrapper script that sets PYTHONHOME and SIGROKDECODE_DIR.
+# Add PulseView wrapper (sets PYTHONHOME/SIGROK_FIRMWARE_DIR/SIGROKDECODE_DIR).
 mv $MACOSDIR/$APPNAME_BINARY $MACOSDIR/$APPNAME_BINARY.real
 cp ../contrib/pulseview $MACOSDIR
 chmod 755 $MACOSDIR/$APPNAME_BINARY