@@ -88,6 +88,7 @@ type t =
88
88
; bytecomp_c_libraries : string list
89
89
; native_c_compiler : Prog_and_args .t
90
90
; native_c_libraries : string list
91
+ ; native_pack_linker : Prog_and_args .t
91
92
; cc_profile : string list
92
93
; architecture : string
93
94
; model : string
@@ -156,6 +157,8 @@ let native_c_compiler t = t.native_c_compiler
156
157
157
158
let native_c_libraries t = t.native_c_libraries
158
159
160
+ let native_pack_linker t = t.native_pack_linker
161
+
159
162
let cc_profile t = t.cc_profile
160
163
161
164
let architecture t = t.architecture
@@ -244,6 +247,7 @@ let to_list
244
247
; bytecomp_c_libraries
245
248
; native_c_compiler
246
249
; native_c_libraries
250
+ ; native_pack_linker
247
251
; cc_profile
248
252
; architecture
249
253
; model
@@ -295,6 +299,7 @@ let to_list
295
299
; (" bytecomp_c_libraries" , Words bytecomp_c_libraries)
296
300
; (" native_c_compiler" , Prog_and_args native_c_compiler)
297
301
; (" native_c_libraries" , Words native_c_libraries)
302
+ ; (" native_pack_linker" , Prog_and_args native_pack_linker)
298
303
; (" cc_profile" , Words cc_profile)
299
304
; (" architecture" , String architecture)
300
305
; (" model" , String model)
@@ -352,6 +357,7 @@ let by_name
352
357
; bytecomp_c_libraries
353
358
; native_c_compiler
354
359
; native_c_libraries
360
+ ; native_pack_linker
355
361
; cc_profile
356
362
; architecture
357
363
; model
@@ -404,6 +410,7 @@ let by_name
404
410
| "bytecomp_c_libraries" -> Some (Words bytecomp_c_libraries)
405
411
| "native_c_compiler" -> Some (Prog_and_args native_c_compiler)
406
412
| "native_c_libraries" -> Some (Words native_c_libraries)
413
+ | "native_pack_linker" -> Some (Prog_and_args native_pack_linker)
407
414
| "cc_profile" -> Some (Words cc_profile)
408
415
| "architecture" -> Some (String architecture)
409
416
| "model" -> Some (String model)
@@ -575,6 +582,7 @@ let make vars =
575
582
get_prog_or_dummy_exn vars " bytecomp_c_compiler"
576
583
in
577
584
let native_c_compiler = get_prog_or_dummy_exn vars " native_c_compiler" in
585
+ let native_pack_linker = get_prog_or_dummy_exn vars " native_pack_linker" in
578
586
let ( c_compiler
579
587
, ocamlc_cflags
580
588
, ocamlc_cppflags
@@ -700,6 +708,7 @@ let make vars =
700
708
; bytecomp_c_libraries
701
709
; native_c_compiler
702
710
; native_c_libraries
711
+ ; native_pack_linker
703
712
; cc_profile
704
713
; architecture
705
714
; model
0 commit comments