]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/CMakeLists.txt
test: Allow moreutils-parallel instead of parallel
[apt.git] / apt-pkg / CMakeLists.txt
index a90bb1d8c4071226ea1e54a09bedd6686ca51fb9..3f85bc1434ac3dcb2ee0f610a8b97a609685a741 100644 (file)
@@ -30,7 +30,7 @@ target_include_directories(apt-pkg
                                    ${LZMA_INCLUDE_DIRS}
                                    ${LZ4_INCLUDE_DIRS})
 target_link_libraries(apt-pkg
-                      PRIVATE -lutil -ldl -lresolv
+                      PRIVATE -lutil ${CMAKE_DL_LIBS} ${RESOLV_LIBRARIES}
                              ${CMAKE_THREAD_LIBS_INIT}
                              ${ZLIB_LIBRARIES}
                              ${BZIP2_LIBRARIES}