diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-04-01 14:12:12 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-04-01 14:54:22 +0100 |
commit | da1d5307c3066dea1fbb5ba2483ba88302efe773 (patch) | |
tree | 356c63dd9fcf967116db0ed315c259aa4d092b59 /idl/source/objects | |
parent | e405f496cb199f758a777a3bc7459a0ff80e4619 (diff) |
use weak attribute for Linux too
Change-Id: If6bad5be57c984930061629077b07eee287202f0
Diffstat (limited to 'idl/source/objects')
-rw-r--r-- | idl/source/objects/types.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/idl/source/objects/types.cxx b/idl/source/objects/types.cxx index 30b945c9abcb..ed58c172f39c 100644 --- a/idl/source/objects/types.cxx +++ b/idl/source/objects/types.cxx @@ -252,7 +252,7 @@ void SvMetaType::WriteSfxItem( // write the implementation part rOutStm.WriteCharPtr( "#ifdef SFX_TYPEMAP" ) << endl; - rOutStm.WriteCharPtr( "#if !defined(_WIN32) && ((defined(DISABLE_DYNLOADING) && (defined(ANDROID) || defined(IOS))) || STATIC_LINKING)" ) << endl; + rOutStm.WriteCharPtr( "#if !defined(_WIN32) && ((defined(DISABLE_DYNLOADING) && (defined(ANDROID) || defined(IOS) || defined(LINUX))) || STATIC_LINKING)" ) << endl; rOutStm.WriteCharPtr( "__attribute__((__weak__))" ) << endl; rOutStm.WriteCharPtr( "#endif" ) << endl; rOutStm.WriteOString( aTypeName ).WriteOString( aVarName ) |