From: Felix Fietkau Date: Fri, 4 Jan 2013 16:12:39 +0000 (+0100) Subject: remove the libdl dependency X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=e5bd3aa45808885f985806df9da83b9ee3f8d388;p=project%2Fuci.git remove the libdl dependency Signed-off-by: Felix Fietkau --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 7120648..882fd6a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)