* guile-config.in (build-link): Include a -L option in the output
authorJim Blandy <jimb@red-bean.com>
Mon, 5 Oct 1998 18:11:04 +0000 (18:11 +0000)
committerJim Blandy <jimb@red-bean.com>
Mon, 5 Oct 1998 18:11:04 +0000 (18:11 +0000)
from `guile-config link', indicating where libguile was installed.

guile-config/guile-config.in

index 6898c65..5579cd5 100644 (file)
            
             (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)