summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9c130e1)
raw | patch | inline | side by side (parent: 9c130e1)
author | Sebastian Harl <sh@tokkee.org> | |
Fri, 2 Jan 2015 11:44:03 +0000 (12:44 +0100) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Fri, 2 Jan 2015 11:44:03 +0000 (12:44 +0100) |
That's required for clock_gettime.
src/Makefile.am | patch | blob | history |
diff --git a/src/Makefile.am b/src/Makefile.am
index cbee8fea43ad00360bc7ef4ccc742754fbc08518..d979672d7dc388d85c6214f66849d30462f79398 100644 (file)
--- a/src/Makefile.am
+++ b/src/Makefile.am
utils/strbuf.c include/utils/strbuf.h
libsysdbclient_la_CFLAGS = $(AM_CFLAGS)
libsysdbclient_la_CPPFLAGS = $(AM_CPPFLAGS) $(LTDLINCL)
-libsysdbclient_la_LDFLAGS = $(AM_LDFLAGS) -version-info 0:0:0 -pthread -lm
+libsysdbclient_la_LDFLAGS = $(AM_LDFLAGS) -version-info 0:0:0 \
+ -pthread -lm -lrt
libsysdbclient_la_LIBADD = $(LIBLTDL)
# don't use strict CFLAGS for flex code
utils/unixsock.c include/utils/unixsock.h
libsysdb_la_CFLAGS = $(AM_CFLAGS)
libsysdb_la_CPPFLAGS = $(AM_CPPFLAGS) $(LTDLINCL)
-libsysdb_la_LDFLAGS = $(AM_LDFLAGS) -version-info 0:0:0 -pthread -lm
+libsysdb_la_LDFLAGS = $(AM_LDFLAGS) -version-info 0:0:0 \
+ -pthread -lm -lrt
libsysdb_la_LIBADD = libsysdb_fe_parser.la \
- $(LIBLTDL) -lrt liboconfig/liboconfig.la
+ $(LIBLTDL) liboconfig/liboconfig.la
libsysdb_la_DEPENDENCIES = libsysdb_fe_parser.la liboconfig/liboconfig.la
if BUILD_WITH_LIBDBI