chicken-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-hackers] [PATCH] add an error for -L and -I in csc


From: Kristian Lein-Mathisen
Subject: [Chicken-hackers] [PATCH] add an error for -L and -I in csc
Date: Sun, 29 Apr 2018 13:16:55 +0200


Hi,

Hopefully the commit message explains it all. I ran into this problem when I had an egg file containing this:

 (components
  (extension nanomsg
     (source "nanomsg-module.scm")
     (link-options "-L -lnanomsg")))

Which should look like this:

 (components
  (extension nanomsg
     (source "nanomsg-module.scm")
     (link-options "-L" "-lnanomsg")))

It was not fun to debug why my egg wouldn't link against nanomsg.so, so I though it might be useful to add this check in csc.
K.

Attachment: 0004-Check-L-and-I-for-valid-DIR.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]