X-Git-Url: https://git.distorted.org.uk/~mdw/clg/blobdiff_plain/1bf1bfc9dae1911ac64a7d1732e1912ec81700f4..8f49b7a10a9717890ca98dff2b01799b80ce2761:/tools/asdf-extensions.lisp diff --git a/tools/asdf-extensions.lisp b/tools/asdf-extensions.lisp index 016ff46..a6dd160 100644 --- a/tools/asdf-extensions.lisp +++ b/tools/asdf-extensions.lisp @@ -1,6 +1,9 @@ (in-package :asdf) (eval-when (:load-toplevel :compile-toplevel :execute) + ;; ASDF defines featurep, which we don't want to clobber. As such, shadow it + ;; here and then reference it with a pkg-config: prefix below. + (shadow :featurep) (use-package :pkg-config)) (export '(*search-library-path-on-reload* *dso-extension* @@ -60,7 +63,7 @@ (pushnew (namestring-name namestring) *reload-shared-objects* :test #'string=))))) -#?(or (sbcl< 1 0 22) (featurep :cmu)) +#?(or (sbcl< 1 0 22) (pkg-config:featurep :cmu)) (progn (defun remove-shared-objects () (dolist (namestring *dont-save-shared-objects*)