1.0.39.3: support building on darwin x86 and x86-64 without the dlshim
[sbcl.git] / src / code / target-package.lisp
index fddb492..0e0a0aa 100644 (file)
@@ -1116,6 +1116,7 @@ the importation, then a correctable error is signalled."
                    (let ((found (member sym syms :test #'string=)))
                      (if found
                          (when (not (eq (car found) sym))
+                           (setf syms (remove (car found) syms))
                            (name-conflict package 'import sym sym (car found)))
                          (push sym syms))))
                   ((not (eq s sym))