extensions/source/macosx/spotlight/main.m | 1 + 1 file changed, 1 insertion(+)
New commits: commit 7c6b42851bc0a94f6aa8c3e28892d1ab4b297c25 Author: Tor Lillqvist <t...@iki.fi> Date: Mon Feb 18 21:42:00 2013 +0200 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 diff --git a/extensions/source/macosx/spotlight/main.m b/extensions/source/macosx/spotlight/main.m index 491adc1..3016a8a 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) { _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits