From 9ef82e201c31f2d709fab4dbb61037dc537e8872 Mon Sep 17 00:00:00 2001
From: deuce <>
Date: Wed, 24 Mar 2004 04:36:11 +0000
Subject: [PATCH] SunOS needs librt for non-xpsem semaphore functions.

---
 xtrn/sbj/GNUmakefile | 2 +-
 xtrn/sbl/GNUmakefile | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/xtrn/sbj/GNUmakefile b/xtrn/sbj/GNUmakefile
index 31bc0c6a93..ff6afae71f 100644
--- a/xtrn/sbj/GNUmakefile
+++ b/xtrn/sbj/GNUmakefile
@@ -20,7 +20,7 @@ include $(XPDEV)Common.gmake
 CFLAGS	+=	-I$(XSDK)
 
 ifeq ($(os),sunos)
- LDFLAGS	+=	-lsocket -lnsl
+ LDFLAGS	+=	-lsocket -lnsl -lrt
 endif
 
 $(EXEODIR)$(SLASH)sbj: $(LIBODIR)$(SLASH)sbj.o $(OBJS)
diff --git a/xtrn/sbl/GNUmakefile b/xtrn/sbl/GNUmakefile
index 18f51bbac9..ea0b268248 100644
--- a/xtrn/sbl/GNUmakefile
+++ b/xtrn/sbl/GNUmakefile
@@ -23,7 +23,7 @@ include $(XPDEV)Common.gmake
 include $(SBBS_SRC)Common.gmake
 
 ifeq ($(os),sunos)
- LDFLAGS	+=	-lsocket -lnsl
+ LDFLAGS	+=	-lsocket -lnsl -lrt
 endif
 
 vpath %.c $(XSDK)
-- 
GitLab