kde-plasma-6/libquotient/symbol-visibility.patch

14 lines
493 B
Diff
Raw Normal View History

diff --git a/Quotient/quotient_export.h b/Quotient/quotient_export.h
index 56767443..d301bf68 100644
--- a/Quotient/quotient_export.h
+++ b/Quotient/quotient_export.h
@@ -12,7 +12,7 @@
# ifndef QUOTIENT_API
# ifdef BUILDING_SHARED_QUOTIENT
/* We are building this library */
-# define QUOTIENT_API Q_DECL_EXPORT
+# define QUOTIENT_API __attribute__((visibility("default")))
# else
/* We are using this library */
# define QUOTIENT_API Q_DECL_IMPORT