diff options
author | Chen Baozi <baozich@gmail.com> | 2012-11-18 14:34:21 +0800 |
---|---|---|
committer | Yehuda Sadeh <yehuda@inktank.com> | 2012-11-17 23:21:08 -0800 |
commit | 68491afceba4e2570b031f81b7bd817407a03d4c (patch) | |
tree | 2a9e8d02d24365ad959aa766b726036b7d721456 /configure.ac | |
parent | 7903aabeb196972fc0d23443afe8b84082936103 (diff) | |
download | ceph-68491afceba4e2570b031f81b7bd817407a03d4c.tar.gz |
rgw: add -lresolv flags to Makefile.am
radosgw depends on libresolv since since the commit 951c6be. So we need to
add -lresolve flags, or it cannot link right library.
Signed-off-by: Chen Baozi <baozich@gmail.com>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index aa101434495..d978565496d 100644 --- a/configure.ac +++ b/configure.ac @@ -80,6 +80,7 @@ AC_CHECK_CC_FLAG([-Wignored-qualifiers], [WARN_IGNORED_QUALIFIERS]) ACX_PTHREAD AC_CHECK_LIB([uuid], [uuid_parse], [true], AC_MSG_FAILURE([libuuid not found])) AC_CHECK_LIB([m], [pow], [true], AC_MSG_FAILURE([libm not found])) +AC_CHECK_LIB([resolv], [__res_nquery], [true], AC_MSG_FAILURE([libresolv not found])) if test x"$linux" = x"yes"; then AC_CHECK_LIB([keyutils], [add_key], [true], AC_MSG_FAILURE([libkeyutils not found])) fi |