Skip to content
Snippets Groups Projects
Commit cbbe13a9 authored by Mohamed Akram's avatar Mohamed Akram
Browse files

Improve linking with widget libraries on macOS

This allows getting rid of the vendor shell hack in libXaw and libXaw3d
by using a coalesced weak reference.
parent a938ec5c
No related branches found
No related tags found
1 merge request!70Improve linking with widget libraries on macOS
Pipeline #1186509 passed
......@@ -82,6 +82,9 @@ DllMain(unsigned long mod_handle, unsigned long flag, void *routine)
#endif
/* *INDENT-OFF* */
#if defined(__APPLE__)
__attribute__((weak))
#endif
externaldef(vendorshellclassrec)
VendorShellClassRec vendorShellClassRec = {
{
......@@ -137,5 +140,8 @@ VendorShellClassRec vendorShellClassRec = {
};
/* *INDENT-ON* */
#if defined(__APPLE__)
__attribute__((weak))
#endif
externaldef(vendorshellwidgetclass)
WidgetClass vendorShellWidgetClass = (WidgetClass) (&vendorShellClassRec);
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment