Browse Source

Fix native-plugin lib export for macOS and wasm

Signed-off-by: falkTX <falktx@falktx.com>
fix-audiofile-buffering
falkTX 1 year ago
parent
commit
5d2004bbc0
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 12 additions and 1 deletions
  1. +12
    -1
      source/plugin/Makefile

+ 12
- 1
source/plugin/Makefile View File

@@ -150,6 +150,11 @@ SYMBOLS_NATIVE += -Wl,-exported_symbol,_carla_get_native_patchbay_obs_plugin
SYMBOLS_NATIVE += -Wl,-exported_symbol,_carla_create_native_plugin_host_handle SYMBOLS_NATIVE += -Wl,-exported_symbol,_carla_create_native_plugin_host_handle
SYMBOLS_NATIVE += -Wl,-exported_symbol,_carla_host_handle_free SYMBOLS_NATIVE += -Wl,-exported_symbol,_carla_host_handle_free
SYMBOLS_NATIVE += -Wl,-exported_symbol,_carla_get_native_plugin_engine SYMBOLS_NATIVE += -Wl,-exported_symbol,_carla_get_native_plugin_engine
SYMBOLS_NATIVE += -Wl,-exported_symbol,_carla_get_complete_license_text
SYMBOLS_NATIVE += -Wl,-exported_symbol,_carla_get_juce_version
SYMBOLS_NATIVE += -Wl,-exported_symbol,_carla_get_supported_file_extensions
SYMBOLS_NATIVE += -Wl,-exported_symbol,_carla_get_supported_features
SYMBOLS_NATIVE += -Wl,-exported_symbol,_carla_get_library_filename
SYMBOLS_NATIVE += -Wl,-exported_symbol,_carla_get_library_folder SYMBOLS_NATIVE += -Wl,-exported_symbol,_carla_get_library_folder
SYMBOLS_LV2 = -Wl,-exported_symbol,_lv2_descriptor SYMBOLS_LV2 = -Wl,-exported_symbol,_lv2_descriptor
ifeq ($(HAVE_PYQT),true) ifeq ($(HAVE_PYQT),true)
@@ -170,7 +175,13 @@ SYMBOLS_NATIVE += 'carla_get_native_patchbay_cv32_plugin',
SYMBOLS_NATIVE += 'carla_get_native_patchbay_obs_plugin', SYMBOLS_NATIVE += 'carla_get_native_patchbay_obs_plugin',
SYMBOLS_NATIVE += 'carla_create_native_plugin_host_handle', SYMBOLS_NATIVE += 'carla_create_native_plugin_host_handle',
SYMBOLS_NATIVE += 'carla_host_handle_free', SYMBOLS_NATIVE += 'carla_host_handle_free',
SYMBOLS_NATIVE += 'carla_get_native_plugin_engine'
SYMBOLS_NATIVE += 'carla_get_native_plugin_engine',
SYMBOLS_NATIVE += 'carla_get_complete_license_text',
SYMBOLS_NATIVE += 'carla_get_juce_version',
SYMBOLS_NATIVE += 'carla_get_supported_file_extensions',
SYMBOLS_NATIVE += 'carla_get_supported_features',
SYMBOLS_NATIVE += 'carla_get_library_filename',
SYMBOLS_NATIVE += 'carla_get_library_folder'
SYMBOLS_NATIVE += ]" SYMBOLS_NATIVE += ]"
ifeq ($(HAVE_PYQT),true) ifeq ($(HAVE_PYQT),true)
SYMBOLS_LV2 = -sSIDE_MODULE=2 -sEXPORTED_FUNCTIONS="['lv2_descriptor','lv2ui_descriptor']" SYMBOLS_LV2 = -sSIDE_MODULE=2 -sEXPORTED_FUNCTIONS="['lv2_descriptor','lv2ui_descriptor']"


Loading…
Cancel
Save