From 0bf26058aab6063d18a0c8600f6244ac86eb3bbb Mon Sep 17 00:00:00 2001 From: Jonathan Sweemer Date: Thu, 3 Oct 2024 18:26:25 +0900 Subject: [PATCH] Clarify that NativeLibrary can be used for transitive dependencies as well --- docs/core/deploying/native-aot/interop.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/docs/core/deploying/native-aot/interop.md b/docs/core/deploying/native-aot/interop.md index 665287e9cba91..7c53995bc1adf 100644 --- a/docs/core/deploying/native-aot/interop.md +++ b/docs/core/deploying/native-aot/interop.md @@ -47,7 +47,7 @@ On Windows, Native AOT uses a prepopulated list of direct P/Invoke methods that ### Linking -To statically link against an unmanaged library, you need to specify `` pointing to a `.lib` file on Windows and a `.a` file on Unix-like systems. +To statically link against one or more unmanaged libraries, you need to specify `` pointing to a `.lib` file on Windows and a `.a` file on Unix-like systems for each library. Examples: @@ -56,8 +56,11 @@ Examples: - - + + + + + ```