From 181c12947f49c1a67ef3e56f1e44f20a182fd271 Mon Sep 17 00:00:00 2001 From: Juan Jose Garcia Ripoll Date: Sun, 13 Nov 2011 15:34:04 +0100 Subject: [PATCH] Remove /EXPORT option from ECL, to avoid duplicated exports in Windows64. This is perfectly safe for ECL already uses ECL_DLLEXPORT to announce names. --- src/cmp/cmpmain.lsp | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/cmp/cmpmain.lsp b/src/cmp/cmpmain.lsp index 184af59e8..9df93aef1 100755 --- a/src/cmp/cmpmain.lsp +++ b/src/cmp/cmpmain.lsp @@ -199,10 +199,12 @@ the environment variable TMPDIR to a different value." template)) ;; /link flag, because they are not processed by the ;; compiler, but by the linker (append ld-flags - (list (concatenate 'string "/EXPORT:" init-name) - (concatenate 'string "/LIBPATH:" - (ecl-library-directory)) - (concatenate 'string "/IMPLIB:" implib))))) + (list + ;; Not needed because we use ECL_DLLEXPORT + ;; (concatenate 'string "/EXPORT:" init-name) + (concatenate 'string "/LIBPATH:" + (ecl-library-directory)) + (concatenate 'string "/IMPLIB:" implib))))) #+mingw32 (setf ld-flags (list* "-shared" "-Wl,--export-all-symbols" ld-flags)) (linker-cc o-pathname object-files :type :fasl :ld-flags ld-flags)))