Browse Source

Fix exported symbols

Signed-off-by: falkTX <falktx@falktx.com>
tags/v2.5.6
falkTX 1 year ago
parent
commit
493cdfabc9
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
6 changed files with 29 additions and 2 deletions
  1. +18
    -1
      source/plugin/Makefile
  2. +1
    -0
      source/plugin/carla-host-plugin.cpp
  3. +1
    -1
      source/plugin/carla-native-plugin.cpp
  4. +3
    -0
      source/plugin/symbols/carla-native-plugin.def
  5. +3
    -0
      source/plugin/symbols/carla-native-plugin.txt
  6. +3
    -0
      source/plugin/symbols/carla-native-plugin.version

+ 18
- 1
source/plugin/Makefile View File

@@ -134,9 +134,17 @@ SYMBOLS_NATIVE += -Wl,-exported_symbol,_carla_get_native_patchbay16_plugin
SYMBOLS_NATIVE += -Wl,-exported_symbol,_carla_get_native_patchbay32_plugin SYMBOLS_NATIVE += -Wl,-exported_symbol,_carla_get_native_patchbay32_plugin
SYMBOLS_NATIVE += -Wl,-exported_symbol,_carla_get_native_patchbay64_plugin SYMBOLS_NATIVE += -Wl,-exported_symbol,_carla_get_native_patchbay64_plugin
SYMBOLS_NATIVE += -Wl,-exported_symbol,_carla_get_native_patchbay_cv_plugin SYMBOLS_NATIVE += -Wl,-exported_symbol,_carla_get_native_patchbay_cv_plugin
SYMBOLS_NATIVE += -Wl,-exported_symbol,_carla_get_native_patchbay_cv8_plugin
SYMBOLS_NATIVE += -Wl,-exported_symbol,_carla_get_native_patchbay_cv32_plugin
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)
@@ -152,9 +160,18 @@ SYMBOLS_NATIVE += 'carla_get_native_patchbay16_plugin',
SYMBOLS_NATIVE += 'carla_get_native_patchbay32_plugin', SYMBOLS_NATIVE += 'carla_get_native_patchbay32_plugin',
SYMBOLS_NATIVE += 'carla_get_native_patchbay64_plugin', SYMBOLS_NATIVE += 'carla_get_native_patchbay64_plugin',
SYMBOLS_NATIVE += 'carla_get_native_patchbay_cv_plugin', SYMBOLS_NATIVE += 'carla_get_native_patchbay_cv_plugin',
SYMBOLS_NATIVE += 'carla_get_native_patchbay_cv8_plugin',
SYMBOLS_NATIVE += 'carla_get_native_patchbay_cv32_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']"


+ 1
- 0
source/plugin/carla-host-plugin.cpp View File

@@ -18,6 +18,7 @@
#include "CarlaNativePlugin.h" #include "CarlaNativePlugin.h"


#define CARLA_PLUGIN_BUILD #define CARLA_PLUGIN_BUILD
#define CARLA_HOST_PLUGIN_BUILD


#include "carla-native-plugin.cpp" #include "carla-native-plugin.cpp"




+ 1
- 1
source/plugin/carla-native-plugin.cpp View File

@@ -26,7 +26,7 @@
// -------------------------------------------------------------------------------------------------------------------- // --------------------------------------------------------------------------------------------------------------------
// Expose info functions as needed // Expose info functions as needed


#ifndef CARLA_PLUGIN_BUILD
#ifndef CARLA_HOST_PLUGIN_BUILD
# include "utils/Information.cpp" # include "utils/Information.cpp"
#endif #endif




+ 3
- 0
source/plugin/symbols/carla-native-plugin.def View File

@@ -16,3 +16,6 @@ EXPORTS
carla_get_supported_features @13 carla_get_supported_features @13
carla_get_library_filename @14 carla_get_library_filename @14
carla_get_library_folder @15 carla_get_library_folder @15
carla_get_native_patchbay_cv8_plugin @16
carla_get_native_patchbay_cv32_plugin @17
carla_get_native_patchbay_obs_plugin @18

+ 3
- 0
source/plugin/symbols/carla-native-plugin.txt View File

@@ -4,6 +4,9 @@ carla_get_native_patchbay16_plugin
carla_get_native_patchbay32_plugin carla_get_native_patchbay32_plugin
carla_get_native_patchbay64_plugin carla_get_native_patchbay64_plugin
carla_get_native_patchbay_cv_plugin carla_get_native_patchbay_cv_plugin
carla_get_native_patchbay_cv8_plugin
carla_get_native_patchbay_cv32_plugin
carla_get_native_patchbay_obs_plugin
carla_create_native_plugin_host_handle carla_create_native_plugin_host_handle
carla_host_handle_free carla_host_handle_free
carla_get_native_plugin_engine carla_get_native_plugin_engine


+ 3
- 0
source/plugin/symbols/carla-native-plugin.version View File

@@ -5,6 +5,9 @@
carla_get_native_patchbay32_plugin; carla_get_native_patchbay32_plugin;
carla_get_native_patchbay64_plugin; carla_get_native_patchbay64_plugin;
carla_get_native_patchbay_cv_plugin; carla_get_native_patchbay_cv_plugin;
carla_get_native_patchbay_cv8_plugin;
carla_get_native_patchbay_cv32_plugin;
carla_get_native_patchbay_obs_plugin;
carla_create_native_plugin_host_handle; carla_create_native_plugin_host_handle;
carla_host_handle_free; carla_host_handle_free;
carla_get_native_plugin_engine; carla_get_native_plugin_engine;


Loading…
Cancel
Save