Browse Source

Really fix symbols exports for host/native-plugin libs

tags/v2.3.0-RC1
falkTX 4 years ago
parent
commit
b97c64857e
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
4 changed files with 14 additions and 3 deletions
  1. +1
    -0
      data/copy-juce
  2. +2
    -3
      source/plugin/Makefile
  3. +2
    -0
      source/plugin/carla-host-plugin.cpp
  4. +9
    -0
      source/plugin/carla-native-plugin.cpp

+ 1
- 0
data/copy-juce View File

@@ -17,6 +17,7 @@ done


find $CARLA_MODULES_DIR -name juce_module_info -delete find $CARLA_MODULES_DIR -name juce_module_info -delete
rm -rf $CARLA_MODULES_DIR/juce_*/native/java/ rm -rf $CARLA_MODULES_DIR/juce_*/native/java/
rm -rf $CARLA_MODULES_DIR/juce_*/native/javacore/
rm -rf $CARLA_MODULES_DIR/juce_*/native/javaopt/ rm -rf $CARLA_MODULES_DIR/juce_*/native/javaopt/
rm -rf $CARLA_MODULES_DIR/juce_*/native/oboe/ rm -rf $CARLA_MODULES_DIR/juce_*/native/oboe/




+ 2
- 3
source/plugin/Makefile View File

@@ -253,11 +253,10 @@ debug:


# --------------------------------------------------------------------------------------------------------------------- # ---------------------------------------------------------------------------------------------------------------------


$(BINDIR)/libcarla_host-plugin$(LIB_EXT): $(OBJDIR)/carla-host-plugin.cpp.o $(OBJDIR)/carla-native-plugin.cpp.o $(LIBS)
$(BINDIR)/libcarla_host-plugin$(LIB_EXT): $(OBJDIR)/carla-host-plugin.cpp.o $(LIBS)
-@mkdir -p $(BINDIR) -@mkdir -p $(BINDIR)
@echo "Linking libcarla-host-plugin$(LIB_EXT)" @echo "Linking libcarla-host-plugin$(LIB_EXT)"
@$(CXX) $(OBJDIR)/carla-host-plugin.cpp.o $(OBJDIR)/carla-native-plugin.cpp.o \
$(LIBS_START) $(LIBS) $(LIBS_END) $(SHARED) $(NATIVE_LINK_FLAGS) -o $@
@$(CXX) $< $(LIBS_START) $(LIBS) $(LIBS_END) $(SHARED) $(NATIVE_LINK_FLAGS) -o $@


# --------------------------------------------------------------------------------------------------------------------- # ---------------------------------------------------------------------------------------------------------------------




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

@@ -19,6 +19,8 @@


#define CARLA_PLUGIN_EXPORT #define CARLA_PLUGIN_EXPORT


#include "carla-native-plugin.cpp"

// ------------------------------------------------------------------------------------------------------------------- // -------------------------------------------------------------------------------------------------------------------
// Include utils code first // Include utils code first




+ 9
- 0
source/plugin/carla-native-plugin.cpp View File

@@ -23,6 +23,15 @@


#include "water/files/File.h" #include "water/files/File.h"


// --------------------------------------------------------------------------------------------------------------------
// Expose info functions as needed

#ifndef CARLA_PLUGIN_EXPORT
# include "utils/Information.cpp"
#endif

// --------------------------------------------------------------------------------------------------------------------

CARLA_BACKEND_USE_NAMESPACE CARLA_BACKEND_USE_NAMESPACE


// -------------------------------------------------------------------------------------------------------------------- // --------------------------------------------------------------------------------------------------------------------


Loading…
Cancel
Save