discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Categories not loaded from static library


From: Frederik Seiffert
Subject: Re: Categories not loaded from static library
Date: Wed, 7 Aug 2019 17:07:33 +0200

Perfect, thanks – that does the trick.

Frederik


> Am 07.08.2019 um 12:29 schrieb David Chisnall <gnustep@theravensnest.org>:
> 
> 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
>> Discuss-gnustep@gnu.org
>> https://lists.gnu.org/mailman/listinfo/discuss-gnustep
> 
> _______________________________________________
> Discuss-gnustep mailing list
> Discuss-gnustep@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnustep




reply via email to

[Prev in Thread] Current Thread [Next in Thread]