Perfect, thanks – that does the trick. Frederik
> Am 07.08.2019 um 12:29 schrieb David Chisnall <[email protected]>: > > Have you trued using --whole-archive? > > David > > On 07/08/2019 11:18, Frederik Seiffert wrote: >> 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 > > _______________________________________________ > Discuss-gnustep mailing list > [email protected] > https://lists.gnu.org/mailman/listinfo/discuss-gnustep _______________________________________________ Discuss-gnustep mailing list [email protected] https://lists.gnu.org/mailman/listinfo/discuss-gnustep
