Hi all,

We have ObjC categories that are built into a static library, but these 
categories do not get linked into the final executable.

We tried the following linker options without any success:

-fuse-ld=gold -Wl,-force_load,<path to static library>
-fuse-ld=gold -ObjC

If we define a C function in the same category and reference that, then the 
categories are included.

Does anyone know if there are any linker flags we can use to fix this? This is 
using the Android toolchain.

Thanks,
Frederik


_______________________________________________
Discuss-gnustep mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnustep

Reply via email to