summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile.nt1
-rw-r--r--asmcomp/asmpackager.ml2
2 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.nt b/Makefile.nt
index ddc9e3097..6019d87af 100644
--- a/Makefile.nt
+++ b/Makefile.nt
@@ -291,6 +291,7 @@ utils/config.ml: utils/config.mlp config/Makefile
-e "s|%%NATIVECC%%|$(NATIVECC) $(NATIVECCCOMPOPTS)|" \
-e "s|%%NATIVELINK%%|$(NATIVECC) $(NATIVECCLINKOPTS)|" \
-e "s|%%PARTIALLD%%|$(PARTIALLD)|" \
+ -e "s|%%PACKLD%%|$(PACKLD)|" \
-e "s|%%BYTECCLIBS%%|$(BYTECCLIBS)|" \
-e "s|%%NATIVECCLIBS%%|$(NATIVECCLIBS)|" \
-e 's|%%RANLIBCMD%%|$(RANLIBCMD)|' \
diff --git a/asmcomp/asmpackager.ml b/asmcomp/asmpackager.ml
index b80e01e2f..c63f3d11b 100644
--- a/asmcomp/asmpackager.ml
+++ b/asmcomp/asmpackager.ml
@@ -251,7 +251,7 @@ let make_package_object ppf unit_names objfiles
(Ident.create_persistent targetname) coercion);
let ld_cmd =
sprintf "%s -o %s %s %s"
- Config.native_partial_linker
+ Config.native_pack_linker
(Filename.quote targetobj)
(Filename.quote objtemp)
(Ccomp.quote_files objfiles) in