fix Linux build: link juce_dsp and make CPU count detection portable

This commit is contained in:
Armin 2026-08-09 22:41:38 +02:00
commit a02f8d67b6
2 changed files with 2 additions and 1 deletions

View file

@ -2,7 +2,7 @@
BUILD_DIR := build
BUILD_TYPE := Release
JOBS := $(shell sysctl -n hw.ncpu)
JOBS := $(shell nproc 2>/dev/null || getconf _NPROCESSORS_ONLN 2>/dev/null || sysctl -n hw.ncpu 2>/dev/null || echo 2)
all: build