alien.libraries: move finder back to basis. conditionally load in stage2
parent
a89e55002b
commit
130154007b
|
@ -2,7 +2,7 @@
|
||||||
! See http://factorcode.org/license.txt for BSD license.
|
! See http://factorcode.org/license.txt for BSD license.
|
||||||
USING: command-line compiler.units continuations definitions io
|
USING: command-line compiler.units continuations definitions io
|
||||||
io.pathnames kernel math math.parser memory namespaces parser
|
io.pathnames kernel math math.parser memory namespaces parser
|
||||||
parser.notes sequences sets splitting system
|
parser.notes sequences sets splitting system combinators
|
||||||
vocabs vocabs.loader ;
|
vocabs vocabs.loader ;
|
||||||
IN: bootstrap.stage2
|
IN: bootstrap.stage2
|
||||||
|
|
||||||
|
@ -75,6 +75,15 @@ CONSTANT: default-components
|
||||||
|
|
||||||
(command-line) parse-command-line
|
(command-line) parse-command-line
|
||||||
|
|
||||||
|
! Finish loading alien.libraries
|
||||||
|
! We don't want this in core/ because
|
||||||
|
! 1) can't have platform-dependent files in core
|
||||||
|
! 2) it pulls in so many files
|
||||||
|
{
|
||||||
|
{ [ os windows? ] [ "alien.libraries.windows" ] }
|
||||||
|
{ [ os unix? ] [ "alien.libraries.unix" ] }
|
||||||
|
} cond require
|
||||||
|
|
||||||
! Set dll paths
|
! Set dll paths
|
||||||
os windows? [ "windows" require ] when
|
os windows? [ "windows" require ] when
|
||||||
|
|
||||||
|
|
|
@ -100,7 +100,7 @@ deploy-libraries [ V{ } clone ] initialize
|
||||||
|
|
||||||
HOOK: >deployed-library-path os ( path -- path' )
|
HOOK: >deployed-library-path os ( path -- path' )
|
||||||
|
|
||||||
{
|
! {
|
||||||
{ [ os windows? ] [ "alien.libraries.windows" ] }
|
! { [ os windows? ] [ "alien.libraries.windows" ] }
|
||||||
{ [ os unix? ] [ "alien.libraries.unix" ] }
|
! { [ os unix? ] [ "alien.libraries.unix" ] }
|
||||||
} cond require
|
! } cond require
|
||||||
|
|
Loading…
Reference in New Issue