cross-compile/macosx: Set DYLD_LIBRARY_PATH After a prior change to the dynamic library path location users have reported issues of nightly builds crashing on MacOS: - #1633 - #1627 - #1651 - #1744 This change, mentioned by Andrea Leofreddi in #1633, hints PulseView and sigrok-cli as to the correct location of dynamic libraries through the addition of an environment variable to the startup script.
macosx: Refine pulseview executable invocation in wrapper script. Cope with whitespace in e.g. pathnames that get passed to the script and then forwarded to the executable. Prefix the invocation of the external binary with 'exec' as there is no need to return to the script after the last line finished executing.
macosx: Set $SIGROK_FIRMWARE_DIR environment variable. This allows the .app/DMG to properly find its firmware files. In addition to the files it ships with, libsigrok will still search all the usual paths for firmware files (if needed). I.e., the user can place additional firmware files in local paths (see libsigrok's README.devices).