Skip to content

Instantly share code, notes, and snippets.

@bettar
bettar / build_libjpeg.sh
Last active July 28, 2022 15:28
Bash shell script to build libjpeg on macOS for the purpose of creating a universal binary
#!/bin/bash
# Alex Bettarini - 28 Jul 2022
#-------------------------------------------------------------------------------
STEP_DOWNLOAD_LIB_JPEG=true
STEP_INFO_JPEG=true
STEP_CONFIGURE_LIB_JPEG=true
STEP_COMPILE_LIB_JPEG=true # and install
STEP_PACKAGE_LIB_JPEG=true