summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfgang Hommel <wolf@code-wizards.com>2013-10-03 11:44:51 +0200
committerWolfgang Hommel <wolf@code-wizards.com>2013-10-03 11:44:51 +0200
commit6fafd23f8af36393ba48fb06d4f771888c983911 (patch)
treef3dbe04ed3c8c1ebfdecc0fc73756b0df03421f3
parent3debc093e42e7a666ae223d2505505d2f200e696 (diff)
downloadlibfaketime-6fafd23f8af36393ba48fb06d4f771888c983911.tar.gz
fix -lrt call for faketime binary linking
-rw-r--r--src/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile
index 05efe90..a0725e1 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -52,7 +52,7 @@ PREFIX ?= /usr/local
CFLAGS += -std=gnu99 -Wall -DFAKE_STAT -DFAKE_SLEEP -DFAKE_TIMERS -DFAKE_INTERNAL_CALLS -fPIC -DPREFIX='"'$(PREFIX)'"'
LIB_LDFLAGS += -shared
-LDFLAGS += -Wl,--version-script=libfaketime.map
+LDFLAGS += -Wl,--version-script=libfaketime.map -lrt
LDADD += -ldl -lm -lpthread -lrt
SRC = libfaketime.c