diff options
author | Nathan Hjelm <hjelmn@mac.com> | 2009-02-16 21:13:52 -0300 |
---|---|---|
committer | Daniel Drake <dsd@gentoo.org> | 2009-02-16 21:19:56 -0300 |
commit | ccf6d3d2f6acf9b9a1cb5e1f1b03f382ae509b17 (patch) | |
tree | eb34a0556332df99d4da4a287dd9c6b6c1ace6a8 | |
parent | 894539931e4b4bd85708fe98b956049243cd6fb0 (diff) | |
download | libusb-ccf6d3d2f6acf9b9a1cb5e1f1b03f382ae509b17.tar.gz |
Only link with librt on Linux
[dsd: tweak configure.ac change]
-rw-r--r-- | configure.ac | 1 | ||||
-rw-r--r-- | libusb/Makefile.am | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index e26ebe5..2e344f7 100644 --- a/configure.ac +++ b/configure.ac @@ -17,6 +17,7 @@ case $host in AC_SUBST(OS_LINUX) AC_MSG_RESULT([Linux]) backend="linux" + AC_CHECK_LIB(rt, clock_gettime) ;; *) AC_MSG_ERROR([unsupported operating system]) diff --git a/libusb/Makefile.am b/libusb/Makefile.am index 97743fa..9ad8ec5 100644 --- a/libusb/Makefile.am +++ b/libusb/Makefile.am @@ -10,7 +10,6 @@ endif libusb_1_0_la_CFLAGS = -fvisibility=hidden $(AM_CFLAGS) -pthread libusb_1_0_la_SOURCES = libusbi.h core.c descriptor.c io.c sync.c $(OS_SRC) -libusb_1_0_la_LIBADD = -lrt hdrdir = $(includedir)/libusb-1.0 hdr_HEADERS = libusb.h |