summaryrefslogtreecommitdiff
path: root/libgnome-desktop
diff options
context:
space:
mode:
authorAntoine Jacoutot <ajacoutot@gnome.org>2014-04-19 00:38:02 +0200
committerAntoine Jacoutot <ajacoutot@gnome.org>2014-04-19 00:38:02 +0200
commite6ba67b4de48db96a006829e9d326b06c9d4ba9f (patch)
treed80b471caa0fe894bd4c0e6d71cf68201290f43b /libgnome-desktop
parent223dea8d72e27fd6e448c880839dc92e754cd426 (diff)
downloadgnome-desktop-e6ba67b4de48db96a006829e9d326b06c9d4ba9f.tar.gz
build: unbreak on OpenBSD
On OpenBSD clock_gettime(2) is part of libc and there is not librt, so add an according check.
Diffstat (limited to 'libgnome-desktop')
-rw-r--r--libgnome-desktop/Makefile.am4
1 files changed, 3 insertions, 1 deletions
diff --git a/libgnome-desktop/Makefile.am b/libgnome-desktop/Makefile.am
index 53055845..7eabb673 100644
--- a/libgnome-desktop/Makefile.am
+++ b/libgnome-desktop/Makefile.am
@@ -1,4 +1,5 @@
CLEANFILES =
+NULL =
EXTRA_DIST =
noinst_LTLIBRARIES =
@@ -79,7 +80,8 @@ libgnome_desktop_3_la_LIBADD = \
$(LIBM) \
$(GNOME_DESKTOP_LIBS) \
libgsystem.la \
- -lrt
+ $(LIBRT) \
+ $(NULL)
libgnome_desktop_3_la_LDFLAGS = \
-version-info $(LT_VERSION) \