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))