Add -ldl to link library libdl.so.
authorJunfeng Dong <junfeng.dong@intel.com>
Fri, 9 Nov 2012 11:33:22 +0000 (19:33 +0800)
committerJunfeng Dong <junfeng.dong@intel.com>
Fri, 9 Nov 2012 11:33:22 +0000 (19:33 +0800)
src/CMakeLists.txt

index 0199a0c..c9d8e96 100644 (file)
@@ -146,7 +146,7 @@ ADD_DEFINITIONS(${INSTALLER_STATIC_DEP_CFLAGS})
 ADD_DEFINITIONS(${INSTALLER_STATIC_DEP_CFLAGS_OTHERS})
 
 TARGET_LINK_LIBRARIES(${TARGET_INSTALLER_STATIC}
-    ${INSTALLER_STATIC_DEP_LIBRARIES}
+    ${INSTALLER_STATIC_DEP_LIBRARIES} "-ldl"
     )