]> git.saurik.com Git - apt.git/blobdiff - methods/CMakeLists.txt
get pdiff files from the same mirror as the index
[apt.git] / methods / CMakeLists.txt
index 2417c4dc10384b96c9d9a44f1fc573064ae293c9..82ae70e7d10366673a7479c5955c6e5605108e92 100644 (file)
@@ -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)