$OpenBSD: patch-cscbench_scm,v 1.3 2009/10/09 13:03:22 jasper Exp $
--- cscbench.scm.orig	Wed Sep 23 23:23:35 2009
+++ cscbench.scm	Wed Sep 23 23:23:54 2009
@@ -48,7 +48,7 @@
 	   cc coptions 
 	   (if (eq? (software-version) 'macosx) "" "-static")
 	   (if unsafe "u" "")
-	   (if (test-feature? 'libffi) "-lffi" "") )
+	   (if (test-feature? 'libffi) "-L${LOCALBASE}/lib -lffi" "") )
   (let ([time (call-with-current-continuation
 	       (lambda (abort)
 		 (set! abort-run (cut abort #f))
