diff options
author | Tor Lillqvist <tml@iki.fi> | 2013-02-18 21:42:00 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2013-02-18 21:44:14 +0200 |
commit | 7c6b42851bc0a94f6aa8c3e28892d1ab4b297c25 (patch) | |
tree | 9dddc84638dc9a75a289b9b709248d62bb42e25c | |
parent | c5c5d87e8838b372968481483a5e20f5c5f56e3a (diff) |
Make sure MetadataImporterPluginFactory has external linkage
Otherwise, in a LO built with hidden visibility (as gcc terminology,
not ELF, Mac OS X does not use ELF), Spotlight won't be able to use
our importer.
Change-Id: Ie19082f9f14e4cc75ae6f7583031b929b7b75330
-rw-r--r-- | extensions/source/macosx/spotlight/main.m | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/extensions/source/macosx/spotlight/main.m b/extensions/source/macosx/spotlight/main.m index 491adc121697..3016a8a658b6 100644 --- a/extensions/source/macosx/spotlight/main.m +++ b/extensions/source/macosx/spotlight/main.m @@ -212,6 +212,7 @@ ULONG MetadataImporterPluginRelease(void *thisInstance) // ----------------------------------------------------------------------------- // Implementation of the factory function for this type. // +__attribute__ ((visibility("default"))) void * MetadataImporterPluginFactory(CFAllocatorRef allocator, CFUUIDRef typeID) { |