summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index bafa07aa..4212512a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -31,8 +31,8 @@ esac
# Checks for libraries.
save_LIBS=$LIBS
-AC_SEARCH_LIBS(clock_gettime, rt, [dl_libs="-ldl" AC_SUBST(dl_libs)])
-AC_SEARCH_LIBS(dlopen, dl, [rt_libs="-lrt" AC_SUBST(rt_libs)])
+AC_SEARCH_LIBS(clock_gettime, rt, [rt_libs="-lrt" AC_SUBST(rt_libs)])
+AC_SEARCH_LIBS(dlopen, dl, [dl_libs="-ldl" AC_SUBST(dl_libs)])
LIBS=$save_LIBS
# Checks for header files.