mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-23 13:00:34 +02:00
* guile-config.in (build-link): Correct non-RnRS usage of internal
defines.
This commit is contained in:
parent
b09ef6795d
commit
6073aaf201
1 changed files with 5 additions and 4 deletions
|
@ -123,10 +123,6 @@
|
|||
;;; now, we're just going to reach into Guile's configuration info and
|
||||
;;; hack it out.
|
||||
(define (build-link args)
|
||||
(if (> (length args) 0)
|
||||
(error
|
||||
(string-append program-name
|
||||
" link: arguments to subcommand not yet implemented")))
|
||||
|
||||
;; If PATH has the form FOO/libBAR.a, return the substring
|
||||
;; BAR, otherwise return #f.
|
||||
|
@ -139,6 +135,11 @@
|
|||
(make-shared-substring base 3 (- len 2))
|
||||
#f)))
|
||||
|
||||
(if (> (length args) 0)
|
||||
(error
|
||||
(string-append program-name
|
||||
" link: arguments to subcommand not yet implemented")))
|
||||
|
||||
(let* ((flags
|
||||
(let loop ((libs
|
||||
;; Get the string of linker flags we used to build
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue