Skip to content

Commit

Permalink
Use correct VST 3 directory name on PowerPC
Browse files Browse the repository at this point in the history
Should be ppc[64][le]-linux, depending on word size and endianness.
  • Loading branch information
taylordotfish authored and falkTX committed Feb 9, 2024
1 parent 4772a38 commit 637870a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion Makefile.base.mk
Original file line number Diff line number Diff line change
Expand Up @@ -688,7 +688,9 @@ endif
# Set VST3 binary directory, see https://vst3sdk-doc.diatonic.jp/doc/vstinterfaces/vst3loc.html

ifeq ($(LINUX),true)
VST3_BINARY_DIR = Contents/$(TARGET_PROCESSOR)-linux
# This must match `uname -m`, which differs from `gcc -dumpmachine` on PowerPC.
VST3_ARCHITECTURE := $(patsubst powerpc%,ppc%,$(TARGET_PROCESSOR))
VST3_BINARY_DIR = Contents/$(VST3_ARCHITECTURE)-linux
else ifeq ($(MACOS),true)
VST3_BINARY_DIR = Contents/MacOS
else ifeq ($(WASM),true)
Expand Down
2 changes: 1 addition & 1 deletion cmake/DPF-plugin.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@ function(dpf__determine_vst3_package_architecture OUTPUT_VARIABLE)
else()
set(vst3_package_arch "i386")
endif()
elseif(vst3_system_arch MATCHES "^(armv[3-8][a-z]*)$")
elseif(vst3_system_arch MATCHES "^(armv[3-8][a-z]*|ppc(64)?(le)?)$")
set(vst3_package_arch "${vst3_system_arch}")
elseif(vst3_system_arch MATCHES "^(aarch64)$")
set(vst3_package_arch "aarch64")
Expand Down

0 comments on commit 637870a

Please sign in to comment.