From 008112c14bd9ba7b39c9ab832fd990abb8a2f7d9 Mon Sep 17 00:00:00 2001 From: Jim Blandy Date: Mon, 5 Oct 1998 18:11:04 +0000 Subject: [PATCH] * guile-config.in (build-link): Include a -L option in the output from `guile-config link', indicating where libguile was installed. --- guile-config/guile-config.in | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/guile-config/guile-config.in b/guile-config/guile-config.in index 6898c656f..5579cd595 100644 --- a/guile-config/guile-config.in +++ b/guile-config/guile-config.in @@ -110,8 +110,10 @@ (else (cons (car libs) (loop (cdr libs))))))) - ;; Don't omit -lguile itself from the list of flags. - (flags (cons "-lguile" flags))) + ;; 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)))) ;; Display the flags, separated by spaces. (display-separated flags)