Szerkesztés

Megosztás a következőn keresztül:


LinkWithAttribute.Dlsym Property

Definition

Specifies if the managed assembly requires using dlsym to resolve P/Invokes to native functions.

public ObjCRuntime.DlsymOption Dlsym { get; set; }
member this.Dlsym : ObjCRuntime.DlsymOption with get, set

Property Value

Developers should set this value to Disabled if the library does not require using dlsym, since the AOT compiler can generate faster and smaller code.

Remarks

The library requires using dlsym to resolve P/Invokes to native functions if it contains P/Invokes to native functions that don't exist on the target platform.

Applies to