Skip to content
Snippets Groups Projects
Commit ae151f8f authored by Christopher Stawarz's avatar Christopher Stawarz
Browse files

Ensure that plugin entry points are always exported on macOS and Linux...

Ensure that plugin entry points are always exported on macOS and Linux (otherwise, plugins won't load in macOS release builds)
parent 580e6651
Branches url-parsing
No related tags found
No related merge requests found
Showing
with 22 additions and 20 deletions
......@@ -116,6 +116,8 @@ Introjucer/Builds/MacOSX/The Introjucer.xcodeproj/*.pbxuser
Introjucer/Builds/MacOSX/The Introjucer.xcodeproj/xcuserdata
Introjucer/Builds/MacOSX/The Introjucer.xcodeproj/project.xcworkspace
Introjucer/Builds/MacOSX/build
Projucer/Builds/MacOSX/Projucer.xcodeproj/xcuserdata
Projucer/Builds/MacOSX/Projucer.xcodeproj/project.xcworkspace
# 9. Plugin build dirs
build/
......
......@@ -610,7 +610,7 @@ static const unsigned char temp_binary_data_6[] =
" #include <Windows.h>\n"
" #define EXPORT __declspec(dllexport)\n"
"#else\n"
" #define EXPORT\n"
" #define EXPORT __attribute__((visibility(\"default\")))\n"
"#endif\n"
"\n"
"using namespace Plugin;\n"
......@@ -6076,7 +6076,7 @@ const char* getNamedResource (const char* resourceNameUTF8, int& numBytes) throw
case 0x9a9516bc: numBytes = 1817; return openEphys_DataThreadPluginTemplate_h;
case 0xd768da9a: numBytes = 1487; return openEphys_FileSourcePluginTemplate_cpp;
case 0xdc872b1f: numBytes = 1450; return openEphys_FileSourcePluginTemplate_h;
case 0x354e9a48: numBytes = 4216; return openEphys_OpenEphysLibTemplate_cpp;
case 0x354e9a48: numBytes = 4255; return openEphys_OpenEphysLibTemplate_cpp;
case 0xbf9557ba: numBytes = 923; return openEphys_PluginMakefile_example;
case 0x0d98caa2: numBytes = 2993; return openEphys_ProcessorContentComponentTemplate_cpp;
case 0x20837d27: numBytes = 2348; return openEphys_ProcessorContentComponentTemplate_h;
......
......@@ -28,7 +28,7 @@ namespace BinaryData
const int openEphys_FileSourcePluginTemplate_hSize = 1450;
extern const char* openEphys_OpenEphysLibTemplate_cpp;
const int openEphys_OpenEphysLibTemplate_cppSize = 4216;
const int openEphys_OpenEphysLibTemplate_cppSize = 4255;
extern const char* openEphys_PluginMakefile_example;
const int openEphys_PluginMakefile_exampleSize = 923;
......
......@@ -28,7 +28,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include <Windows.h>
#define EXPORT __declspec(dllexport)
#else
#define EXPORT
#define EXPORT __attribute__((visibility("default")))
#endif
using namespace Plugin;
......
......@@ -29,7 +29,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include <Windows.h>
#define EXPORT __declspec(dllexport)
#else
#define EXPORT
#define EXPORT __attribute__((visibility("default")))
#endif
using namespace Plugin;
......
......@@ -28,7 +28,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include <Windows.h>
#define EXPORT __declspec(dllexport)
#else
#define EXPORT
#define EXPORT __attribute__((visibility("default")))
#endif
......
......@@ -28,7 +28,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include <Windows.h>
#define EXPORT __declspec(dllexport)
#else
#define EXPORT
#define EXPORT __attribute__((visibility("default")))
#endif
using namespace Plugin;
......
......@@ -28,7 +28,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include <Windows.h>
#define EXPORT __declspec(dllexport)
#else
#define EXPORT
#define EXPORT __attribute__((visibility("default")))
#endif
using namespace Plugin;
......
......@@ -28,7 +28,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include <Windows.h>
#define EXPORT __declspec(dllexport)
#else
#define EXPORT
#define EXPORT __attribute__((visibility("default")))
#endif
using namespace Plugin;
......
......@@ -28,7 +28,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include <Windows.h>
#define EXPORT __declspec(dllexport)
#else
#define EXPORT
#define EXPORT __attribute__((visibility("default")))
#endif
using namespace Plugin;
......
......@@ -28,7 +28,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include <Windows.h>
#define EXPORT __declspec(dllexport)
#else
#define EXPORT
#define EXPORT __attribute__((visibility("default")))
#endif
using namespace Plugin;
......
......@@ -28,7 +28,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include <Windows.h>
#define EXPORT __declspec(dllexport)
#else
#define EXPORT
#define EXPORT __attribute__((visibility("default")))
#endif
using namespace Plugin;
......
......@@ -29,7 +29,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include <Windows.h>
#define EXPORT __declspec(dllexport)
#else
#define EXPORT
#define EXPORT __attribute__((visibility("default")))
#endif
......
......@@ -28,7 +28,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include <Windows.h>
#define EXPORT __declspec(dllexport)
#else
#define EXPORT
#define EXPORT __attribute__((visibility("default")))
#endif
using namespace Plugin;
......
......@@ -28,7 +28,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include <Windows.h>
#define EXPORT __declspec(dllexport)
#else
#define EXPORT
#define EXPORT __attribute__((visibility("default")))
#endif
using namespace Plugin;
......
......@@ -28,7 +28,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include <Windows.h>
#define EXPORT __declspec(dllexport)
#else
#define EXPORT
#define EXPORT __attribute__((visibility("default")))
#endif
using namespace Plugin;
......
......@@ -28,7 +28,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include <Windows.h>
#define EXPORT __declspec(dllexport)
#else
#define EXPORT
#define EXPORT __attribute__((visibility("default")))
#endif
using namespace Plugin;
......
......@@ -28,7 +28,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include <Windows.h>
#define EXPORT __declspec(dllexport)
#else
#define EXPORT
#define EXPORT __attribute__((visibility("default")))
#endif
using namespace Plugin;
......
......@@ -28,7 +28,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include <Windows.h>
#define EXPORT __declspec(dllexport)
#else
#define EXPORT
#define EXPORT __attribute__((visibility("default")))
#endif
using namespace Plugin;
......
......@@ -28,7 +28,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include <Windows.h>
#define EXPORT __declspec(dllexport)
#else
#define EXPORT
#define EXPORT __attribute__((visibility("default")))
#endif
using namespace Plugin;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment