diff options
author | Julian Andres Klode <jak@debian.org> | 2016-08-23 13:42:54 +0200 |
---|---|---|
committer | Julian Andres Klode <jak@debian.org> | 2016-08-26 15:49:14 +0200 |
commit | ad5282bb0c97fd0254b20fb71a59d0f755c3ed65 (patch) | |
tree | 55af94cc08cc0e0ab1e8d3e2c9c1ff8d6d52e618 /methods | |
parent | 374ab017c262108c0f12bcdc8d15ff242c7adc56 (diff) | |
download | apt-ad5282bb0c97fd0254b20fb71a59d0f755c3ed65.tar.gz |
CMake: Do not use -lresolv if res_init exists in libc
Gbp-Dch: ignore
Diffstat (limited to 'methods')
-rw-r--r-- | methods/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/methods/CMakeLists.txt b/methods/CMakeLists.txt index 2417c4dc1..82ae70e7d 100644 --- a/methods/CMakeLists.txt +++ b/methods/CMakeLists.txt @@ -21,7 +21,7 @@ target_link_libraries(store apt-pkg) target_link_libraries(gpgv apt-pkg) target_link_libraries(cdrom apt-pkg) target_link_libraries(http apt-pkg) -target_link_libraries(mirror apt-pkg -lresolv) +target_link_libraries(mirror apt-pkg ${RESOLV_LIBRARIES}) target_link_libraries(https apt-pkg ${CURL_LIBRARIES}) target_link_libraries(ftp apt-pkg) target_link_libraries(rred apt-pkg) |