Commit c01855eb authored by Felix Paul Kühne's avatar Felix Paul Kühne

src: fixed build when compiling for Apple platforms with dynamic plugins

parent 09085c42
......@@ -69,7 +69,7 @@ static void module_StoreBank (module_t *module)
modules.head = module;
}
#if defined(__ELF__) || defined(__APPLE__)
#if defined(__ELF__) || (defined(__APPLE__) && !HAVE_DYNAMIC_PLUGINS)
# ifdef __GNUC__
__attribute__((weak))
# else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment