mcc on Nostr: Very, very specific question that I'm mostly posting in hopes a Xamarin person sees ...
Published at
2024-02-14 19:30:49Event JSON
{
"id": "931c74edd4c726e23f665c2d87b5a58f9ad7fa2ec3b435bc8b26fd576852c8f9",
"pubkey": "a3162b9720f6b515ac4bd22d5ea4abf0f85f5685130dca40f46fe684fe85b255",
"created_at": 1707939049,
"kind": 1,
"tags": [
[
"proxy",
"https://mastodon.social/users/mcc/statuses/111931493555568389",
"activitypub"
]
],
"content": "Very, very specific question that I'm mostly posting in hopes a Xamarin person sees it:\n\nWhen 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?\n\nThis StackOverflow seems to suggest the answer is \"you can't\":\n\nhttps://stackoverflow.com/questions/77367193/how-to-control-the-rpath-of-a-launcher-created-with-dotnet-publish-self-conta\n\nI 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.",
"sig": "9c090db4e8b7c86e807d8a7b2a6415e096df6715f856ce5555201a2592d4a88e06598371f90d029495b6af416cc5bb67b3d6d81faa5cd82df5ca7908f3a83d2f"
}