Skip to content

Commit

Permalink
Fixing mistake setting visibility attributes for non shared library b…
Browse files Browse the repository at this point in the history
…uild
  • Loading branch information
ld-kerley committed Jul 19, 2024
1 parent 51cc341 commit 0ffa356
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions source/MaterialXCore/Library.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@
#define MATERIALX_IMPORT_EXTERN_TEMPLATE(...) extern template class MATERIALX_SYMBOL_IMPORT __VA_ARGS__
#endif
#else
#define MATERIALX_SYMBOL_EXPORT __attribute__((__visibility__("default")))
#define MATERIALX_SYMBOL_IMPORT __attribute__((__visibility__("default")))
#define MATERIALX_EXPORT_EXTERN_TEMPLATE(...) template class MATERIALX_SYMBOL_EXPORT __VA_ARGS__
#define MATERIALX_IMPORT_EXTERN_TEMPLATE(...) extern template class MATERIALX_SYMBOL_IMPORT __VA_ARGS__
#define MATERIALX_SYMBOL_EXPORT
#define MATERIALX_SYMBOL_IMPORT
#define MATERIALX_EXPORT_EXTERN_TEMPLATE(...)
#define MATERIALX_IMPORT_EXTERN_TEMPLATE(...)
#endif

MATERIALX_NAMESPACE_BEGIN
Expand Down

0 comments on commit 0ffa356

Please sign in to comment.