--- package/compile.orig	2015-02-24 06:40:08 UTC
+++ package/compile
@@ -634,7 +634,7 @@ make_13() {
   set x \
     ./compile/host/rw-add.o \
     ./compile/host/runwhen.a \
-    -lskarnet \
+    -L/usr/local/lib -lskarnet \
     ${contents_30?} &&
   shift &&
   . ./compile/conf/host_link.sh
@@ -679,7 +679,7 @@ make_15() {
   set x \
     ./compile/host/rw-match.o \
     ./compile/host/runwhen.a \
-    -lskarnet \
+    -L/usr/local/lib -lskarnet \
     ${contents_30?} &&
   shift &&
   . ./compile/conf/host_link.sh
@@ -724,7 +724,7 @@ make_17() {
   set x \
     ./compile/host/rw-max.o \
     ./compile/host/runwhen.a \
-    -lskarnet \
+    -L/usr/local/lib -lskarnet \
     ${contents_30?} &&
   shift &&
   . ./compile/conf/host_link.sh
@@ -769,7 +769,7 @@ make_19() {
   set x \
     ./compile/host/rw-min.o \
     ./compile/host/runwhen.a \
-    -lskarnet \
+    -L/usr/local/lib -lskarnet \
     ${contents_30?} &&
   shift &&
   . ./compile/conf/host_link.sh
@@ -814,7 +814,7 @@ make_21() {
   set x \
     ./compile/host/rw-sleep.o \
     ./compile/host/runwhen.a \
-    -lskarnet \
+    -L/usr/local/lib -lskarnet \
     ${contents_30?} &&
   shift &&
   . ./compile/conf/host_link.sh
@@ -859,7 +859,7 @@ make_23() {
   set x \
     ./compile/host/rw-sub.o \
     ./compile/host/runwhen.a \
-    -lskarnet \
+    -L/usr/local/lib -lskarnet \
     ${contents_30?} &&
   shift &&
   . ./compile/conf/host_link.sh
@@ -904,7 +904,7 @@ make_25() {
   set x \
     ./compile/host/rw-touch.o \
     ./compile/host/runwhen.a \
-    -lskarnet \
+    -L/usr/local/lib -lskarnet \
     ${contents_30?} &&
   shift &&
   . ./compile/conf/host_link.sh
@@ -994,7 +994,7 @@ make_30() {
   make_ compile/host/skalibs_sysdeps &&
   echo &&
   prj_echo Making compile/host/tainnow &&
-  cp ./compile/host/skalibs_sysdeps/tainnow.lib "${output?}" &&
+  cp ./compile/host/skalibs_sysdeps/sysclock.lib "${output?}" &&
   contents_30=`cat "${output?}"`
 } &&
 
