mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-05-19 05:39:18 +02:00
Added *cflags* global to chibi-ffi
This commit is contained in:
parent
8f52f457d6
commit
212231dca6
1 changed files with 3 additions and 1 deletions
|
@ -41,6 +41,7 @@
|
|||
(define *consts* '())
|
||||
(define *inits* '())
|
||||
(define *clibs* '())
|
||||
(define *cflags* '())
|
||||
(define *tags* '())
|
||||
(define *open-namespaces* '())
|
||||
(define *c++?* #f)
|
||||
|
@ -2059,7 +2060,8 @@
|
|||
(execute (begin (eval '(import (chibi process))
|
||||
(current-environment))
|
||||
(eval 'execute (current-environment))))
|
||||
(base-args (append cflags `("-o" ,so ,dest "-lchibi-scheme")
|
||||
(base-args (append cflags *cflags*
|
||||
`("-o" ,so ,dest "-lchibi-scheme")
|
||||
(map (lambda (x) (string-append "-l" x))
|
||||
(reverse *clibs*))))
|
||||
(args
|
||||
|
|
Loading…
Add table
Reference in a new issue