Reported by "Mikele" (again!), Solaris seems to require -lrt
for nanosleep(3).


cheers,
felix
>From adbc4ebdf8421fbe8767e778ad53b704ad76f439 Mon Sep 17 00:00:00 2001
From: mikele <[email protected]>
Date: Mon, 21 Jan 2013 21:04:44 +0100
Subject: [PATCH] added missing library (-lrt) for nanosleep calls

Signed-off-by: felix <[email protected]>
---
 Makefile.solaris |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Makefile.solaris b/Makefile.solaris
index 8228a68..99f9826 100644
--- a/Makefile.solaris
+++ b/Makefile.solaris
@@ -82,7 +82,7 @@ LINKER_LINK_SHARED_LIBRARY_OPTIONS = -shared
 LINKER_LINK_SHARED_DLOADABLE_OPTIONS = -shared -Wl,-R"$(RUNTIME_LINKER_PATH)" -Wl,-L.
 LINKER_LINK_SHARED_PROGRAM_OPTIONS = -Wl,-R"$(RUNTIME_LINKER_PATH)"
 endif
-LIBRARIES = -lsocket -lnsl -lm -ldl
+LIBRARIES = -lsocket -lnsl -lm -ldl -lrt
 NEEDS_RELINKING = yes
 
 # special files
-- 
1.7.0.4

_______________________________________________
Chicken-hackers mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/chicken-hackers

Reply via email to