Browse Source

Use correct VST 3 directory name on PowerPC

Should be ppc[64][le]-linux, depending on word size and endianness.
pull/448/head
taylor.fish 1 year ago
parent
commit
c5f4f9b0ce
2 changed files with 4 additions and 2 deletions
  1. +3
    -1
      Makefile.base.mk
  2. +1
    -1
      cmake/DPF-plugin.cmake

+ 3
- 1
Makefile.base.mk View File

@@ -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)


+ 1
- 1
cmake/DPF-plugin.cmake View File

@@ -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")


Loading…
Cancel
Save