summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfgang Hommel <wolf@code-wizards.com>2013-10-03 11:31:57 +0200
committerWolfgang Hommel <wolf@code-wizards.com>2013-10-03 11:31:57 +0200
commit3debc093e42e7a666ae223d2505505d2f200e696 (patch)
tree1a4600942229446429da43d1f8b1a073de9e0b41
parentf21318289f742c1251ece4e94084d1d8a8550526 (diff)
downloadlibfaketime-3debc093e42e7a666ae223d2505505d2f200e696.tar.gz
fix -lrt call for library linking
-rw-r--r--src/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Makefile b/src/Makefile
index 317f0f0..05efe90 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -52,8 +52,8 @@ PREFIX ?= /usr/local
CFLAGS += -std=gnu99 -Wall -DFAKE_STAT -DFAKE_SLEEP -DFAKE_TIMERS -DFAKE_INTERNAL_CALLS -fPIC -DPREFIX='"'$(PREFIX)'"'
LIB_LDFLAGS += -shared
-LDFLAGS += -lrt -Wl,--version-script=libfaketime.map
-LDADD += -ldl -lm -lpthread
+LDFLAGS += -Wl,--version-script=libfaketime.map
+LDADD += -ldl -lm -lpthread -lrt
SRC = libfaketime.c
LIBS_OBJ = libfaketime.o libfaketimeMT.o