Skip to content

Instantly share code, notes, and snippets.

@atsushieno
Created January 14, 2021 15:01
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save atsushieno/7da120ef87826c9d8fdf8ad6542a16f6 to your computer and use it in GitHub Desktop.
Save atsushieno/7da120ef87826c9d8fdf8ad6542a16f6 to your computer and use it in GitHub Desktop.
diff --git a/modules/juce_events/messages/juce_Initialisation.h b/modules/juce_events/messages/juce_Initialisation.h
index 2fc9b96c9..975d00ea6 100644
--- a/modules/juce_events/messages/juce_Initialisation.h
+++ b/modules/juce_events/messages/juce_Initialisation.h
@@ -116,7 +116,7 @@ public:
#elif JUCE_ANDROID
#define JUCE_CREATE_APPLICATION_DEFINE(AppClass) \
- extern "C" juce::JUCEApplicationBase* juce_CreateApplication() { return new AppClass(); }
+ extern "C" __attribute((visibility("default"))) juce::JUCEApplicationBase* juce_CreateApplication() { return new AppClass(); }
#define JUCE_MAIN_FUNCTION_DEFINITION
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment