summaryrefslogtreecommitdiff
path: root/dev-ada/gprbuild/files/gprbuild-22.0.0-ar.patch
blob: 6a9513473bf9b9c7d813227846057dbc1acc5515 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- a/share/gprconfig/linker.xml	2021-12-22 22:40:42.611766036 +0100
+++ b/share/gprconfig/linker.xml	2021-12-22 22:42:28.839096356 +0100
@@ -877,7 +877,8 @@
       <host name="^x86_64-.*linux.*" />
     </hosts>
     <config>
-   for Archive_Builder  use ("ar", "cr");
+   AR := External("AR", "ar");
+   for Archive_Builder  use (AR, "cr");
    for Archive_Builder_Append_Option use ("q");
    for Archive_Indexer  use ("ranlib");
    for Archive_Suffix   use ".a";