@@ -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/ | ||||
@@ -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 $@ | |||||
# --------------------------------------------------------------------------------------------------------------------- | # --------------------------------------------------------------------------------------------------------------------- | ||||
@@ -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 | ||||
@@ -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 | ||||
// -------------------------------------------------------------------------------------------------------------------- | // -------------------------------------------------------------------------------------------------------------------- | ||||