remove the libdl dependency
authorFelix Fietkau <nbd@openwrt.org>
Fri, 4 Jan 2013 16:12:39 +0000 (17:12 +0100)
committerFelix Fietkau <nbd@openwrt.org>
Fri, 4 Jan 2013 16:12:45 +0000 (17:12 +0100)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
CMakeLists.txt

index 7120648f10a4e191266d0ef09dc08fb2a4395d11..882fd6a5a976986b9b9168c2729b27dc1147e4a1 100644 (file)
@@ -16,16 +16,15 @@ SET(LIB_SOURCES libuci.c file.c util.c delta.c parse.c)
 
 ADD_LIBRARY(uci SHARED ${LIB_SOURCES})
 SET_TARGET_PROPERTIES(uci PROPERTIES OUTPUT_NAME uci)
-TARGET_LINK_LIBRARIES(uci dl)
 
 ADD_EXECUTABLE(cli cli.c)
 SET_TARGET_PROPERTIES(cli PROPERTIES OUTPUT_NAME uci)
-TARGET_LINK_LIBRARIES(cli uci dl)
+TARGET_LINK_LIBRARIES(cli uci)
 
 ADD_LIBRARY(ucimap STATIC ucimap.c)
 
 ADD_EXECUTABLE(ucimap-example ucimap-example.c)
-TARGET_LINK_LIBRARIES(ucimap-example uci ucimap dl)
+TARGET_LINK_LIBRARIES(ucimap-example uci ucimap)
 
 ADD_SUBDIRECTORY(lua)