summaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-05-16 11:05:42 +0000
committerRoy Marples <roy@marples.name>2007-05-16 11:05:42 +0000
commit1ac8d86ebef97cae4ef2ccdfa8d84885f5e28597 (patch)
treef36d3e1a1e94b6bef75e3af93b11536025994349 /src/Makefile
parent66d71507503e17f7fee02b56d229c3910f43c22c (diff)
downloadopenrc-1ac8d86ebef97cae4ef2ccdfa8d84885f5e28597.tar.gz
openrc-1ac8d86ebef97cae4ef2ccdfa8d84885f5e28597.tar.bz2
openrc-1ac8d86ebef97cae4ef2ccdfa8d84885f5e28597.tar.xz
Stop using getimeofday for timeouts incase the clock changes.
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile
index 14cd69f..14a44bd 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -65,6 +65,7 @@ endif
ifeq ($(OS),Linux)
LDLIBS_RC = -ldl
LDLIBS_RS = -ldl
+LDLIBS_SSD = -lrt
# Shouldn't need this, but it's the easiest workaround for silly
# Linux headers that don't work with -std=c99
override CPPFLAGS += -D_GNU_SOURCE
@@ -76,7 +77,7 @@ endif
HAVE_PAM =
ifdef HAVE_PAM
CPPFLAGS_SSD = -DHAVE_PAM
-LDLIBS_SSD = -lpam
+LDLIBS_SSD += -lpam
endif
# We also define _BSD_SOURCE so both Linux and the BSDs get a few