jail: replace /etc/resolv.conf with symlink in extroot+overlay
[oweals/procd.git] / CMakeLists.txt
index a566acdfd259c01b5bf80d817c3398f9a216b4bb..cff47cfa38c4db46e35a8189ffeb62200d5f7475 100644 (file)
@@ -105,7 +105,7 @@ endif()
 
 IF(JAIL_SUPPORT)
 ADD_EXECUTABLE(ujail jail/jail.c jail/elf.c jail/fs.c jail/capabilities.c)
-TARGET_LINK_LIBRARIES(ujail ${ubox} ${blobmsg_json})
+TARGET_LINK_LIBRARIES(ujail ${ubox} ${ubus} ${blobmsg_json})
 INSTALL(TARGETS ujail
        RUNTIME DESTINATION ${CMAKE_INSTALL_SBINDIR}
 )