~ chicken-core (chicken-5) 20e1860e637554ebc09e5658884de711954abb14


commit 20e1860e637554ebc09e5658884de711954abb14
Author:     Kon Lovett <konlovett@gmail.com>
AuthorDate: Sat Apr 28 10:59:59 2012 -0700
Commit:     felix <felix@call-with-current-continuation.org>
CommitDate: Tue Jun 12 09:08:38 2012 +0200

    ignore rpath for macosx

diff --git a/csc.scm b/csc.scm
index 2310bbb8..7aca745c 100644
--- a/csc.scm
+++ b/csc.scm
@@ -721,9 +721,9 @@ EOF
 		(check s rest)
 		(set! rpath (car rest))
 		(when (and (memq (build-platform) '(gnu clang))
-			   (not mingw))
-		  (set! link-options (append link-options (list (string-append "-Wl,-R" rpath))))
-		  (set! rest (cdr rest)) ) ]
+			   (not mingw) (not osx))
+		  (set! link-options (append link-options (list (string-append "-Wl,-R" rpath)))) )
+	  	(set! rest (cdr rest)) ]
 	       [(-host) #f]
 	       [(-) 
 		(set! target-filename (make-pathname #f "a" executable-extension))
Trap