mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-01-17 06:42:18 -08:00
Remove /EXPORT option from ECL, to avoid duplicated exports in Windows64.
This is perfectly safe for ECL already uses ECL_DLLEXPORT to announce names.
This commit is contained in:
parent
27f8141371
commit
181c12947f
1 changed files with 6 additions and 4 deletions
|
|
@ -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)))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue