1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-20 03:30:27 +02:00

(build-link): Restore the removal of "/usr/lib" (in addition to

"/usr/lib/" from any -L arguments).
This commit is contained in:
Rob Browning 2006-09-20 00:33:56 +00:00
parent 9f1ba6a9a4
commit 162426a8ee

View file

@ -152,7 +152,8 @@
(list
(get-build-info 'CFLAGS)
"-lguile -lltdl"
(if (string=? libdir "/usr/lib/")
(if (or (string=? libdir "/usr/lib")
(string=? libdir "/usr/lib/"))
""
(string-append "-L" (get-build-info 'libdir)))
(string-join other-flags)