link libsolvext with libsolv for completeness
authorMichael Schroeder <mls@suse.de>
Thu, 20 Dec 2012 15:05:14 +0000 (16:05 +0100)
committerMichael Schroeder <mls@suse.de>
Thu, 20 Dec 2012 15:05:14 +0000 (16:05 +0100)
ext/CMakeLists.txt

index ad18f2d..2aae064 100644 (file)
@@ -89,7 +89,7 @@ IF (DISABLE_SHARED)
 ADD_LIBRARY (libsolvext STATIC ${libsolvext_SRCS})
 ELSE (DISABLE_SHARED)
 ADD_LIBRARY (libsolvext SHARED ${libsolvext_SRCS})
-TARGET_LINK_LIBRARIES(libsolvext ${SYSTEM_LIBRARIES})
+TARGET_LINK_LIBRARIES(libsolvext libsolv ${SYSTEM_LIBRARIES})
 ENDIF (DISABLE_SHARED)
 
 SET_TARGET_PROPERTIES(libsolvext PROPERTIES OUTPUT_NAME "solvext")