mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Projucer: Ensure plugin shared-code target is built with private symbol visibility
This commit is contained in:
parent
0037e44a23
commit
6d7bf9281a
1 changed files with 2 additions and 2 deletions
|
|
@ -129,14 +129,14 @@ public:
|
|||
{
|
||||
public:
|
||||
MakefileTarget (build_tools::ProjectType::Target::Type targetType, const MakefileProjectExporter& exporter)
|
||||
: build_tools::ProjectType::Target (targetType), owner (exporter)
|
||||
: Target (targetType), owner (exporter)
|
||||
{}
|
||||
|
||||
StringArray getCompilerFlags() const
|
||||
{
|
||||
StringArray result;
|
||||
|
||||
if (getTargetFileType() == sharedLibraryOrDLL || getTargetFileType() == pluginBundle)
|
||||
if (getTargetFileType() == sharedLibraryOrDLL || getTargetFileType() == pluginBundle || type == SharedCodeTarget)
|
||||
{
|
||||
result.add ("-fPIC");
|
||||
result.add ("-fvisibility=hidden");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue