mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-12 14:50:19 +02:00
* guile-config.in (build-link): Fixed duplicate binding bug
reported by Ralf Mattes.
This commit is contained in:
parent
8bc4547c4e
commit
c2ab898653
1 changed files with 25 additions and 25 deletions
|
@ -140,7 +140,7 @@
|
|||
(string-append program-name
|
||||
" link: arguments to subcommand not yet implemented")))
|
||||
|
||||
(let* ((flags
|
||||
(let ((flags
|
||||
(let loop ((libs
|
||||
;; Get the string of linker flags we used to build
|
||||
;; Guile, and break it up into a list.
|
||||
|
@ -160,16 +160,16 @@
|
|||
;; Remove any empty strings that may have seeped in there.
|
||||
((string=? (car libs) "") (loop (cdr libs)))
|
||||
|
||||
(else (cons (car libs) (loop (cdr libs)))))))
|
||||
(else (cons (car libs) (loop (cdr libs))))))))
|
||||
|
||||
;; Include libguile itself in the list, along with the
|
||||
;; directory it was installed in.
|
||||
(flags (cons (string-append "-L" (get-build-info 'libdir))
|
||||
(cons "-lguile" flags))))
|
||||
(let (flags (cons (string-append "-L" (get-build-info 'libdir))
|
||||
(cons "-lguile" flags)))
|
||||
|
||||
;; Display the flags, separated by spaces.
|
||||
(display-separated flags)
|
||||
(newline)))
|
||||
(newline))))
|
||||
|
||||
(define (help-link)
|
||||
(let ((dle display-line-error))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue