Skip to content

Commit

Permalink
Introduce core-compression discovery in make save to fix Travis bui…
Browse files Browse the repository at this point in the history
…lds.
  • Loading branch information
dimitri committed May 9, 2019
1 parent 781e586 commit ca92cdb
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions src/save.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,9 @@
:toplevel-function #'cl-user::pgloader-image-main
:prepend-kernel t)
#+sbcl
(sb-ext:save-lisp-and-die image-filename
:toplevel #'cl-user::pgloader-image-main
:executable t
:save-runtime-options t
:compression t))
(let ((compression (when (member :sb-core-compression cl:*features*) t)))
(sb-ext:save-lisp-and-die image-filename
:toplevel #'cl-user::pgloader-image-main
:executable t
:save-runtime-options t
:compression compression)))

0 comments on commit ca92cdb

Please sign in to comment.