From 25d8bf63efc4f71ae961356e1a42e508780a0538 Mon Sep 17 00:00:00 2001 From: Marius Gerbershagen Date: Tue, 20 Aug 2019 19:52:25 +0200 Subject: [PATCH] cmp: fix linker-cc for msvc linker-cc for other compilers includes the libpath in the linker options, therefore for consistency we need it here too. --- src/cmp/cmpmain.lsp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/cmp/cmpmain.lsp b/src/cmp/cmpmain.lsp index cdf6f6eb8..ae4620d38 100755 --- a/src/cmp/cmpmain.lsp +++ b/src/cmp/cmpmain.lsp @@ -134,7 +134,10 @@ the environment variable TMPDIR to a different value." template)) ,@(split-program-options *user-ld-flags*) ,@ld-flags ,(if (eq type :program) - (concatenate 'string "/IMPLIB:prog" (file-namestring o-pathname) ".lib") "" ))) + (concatenate 'string "/IMPLIB:prog" (file-namestring o-pathname) ".lib") + "") + ,(concatenate 'string "/LIBPATH:" + (ecl-library-directory)))) (embed-manifest-file o-pathname type) (delete-msvc-generated-files o-pathname))