Why Nostr? What is Njump?
2024-02-14 19:30:49

mcc on Nostr: Very, very specific question that I'm mostly posting in hopes a Xamarin person sees ...

Very, very specific question that I'm mostly posting in hopes a Xamarin person sees it:

When using `dotnet build` (eg, .NET 8/CoreCLR) on Linux, how does one set rpath (eg, what in C would be -Wl,-rpath) on the created executable?

This StackOverflow seems to suggest the answer is "you can't":

https://stackoverflow.com/questions/77367193/how-to-control-the-rpath-of-a-launcher-created-with-dotnet-publish-self-conta

I would like to use p/invoke in a .NET 8 application but Windows and Linux appear to expect to find native shared libraries in different places.
Author Public Key
npub15vtzh9eq7663ttzt6gk4af9t7ru97459zvxu5s85dlngfl59kf2srvx8ma