projects
/
project
/
uci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee48b7a
)
also link the shared libuci to libdl
author
Felix Fietkau
<nbd@openwrt.org>
Sun, 27 Mar 2011 12:52:58 +0000
(14:52 +0200)
committer
Felix Fietkau
<nbd@openwrt.org>
Sun, 27 Mar 2011 12:52:58 +0000
(14:52 +0200)
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index 9e50a5bc3373a37edac61f3368dadc895d3eab65..7df3be9ec6bfc952daa3632be9cbd14373a0e1c4 100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-17,6
+17,7
@@
SET(LIB_SOURCES libuci.c file.c util.c delta.c)
ADD_LIBRARY(uci-shared SHARED ${LIB_SOURCES})
SET_TARGET_PROPERTIES(uci-shared PROPERTIES OUTPUT_NAME uci)
+TARGET_LINK_LIBRARIES(uci-shared dl)
ADD_LIBRARY(uci-static STATIC ${LIB_SOURCES})
SET_TARGET_PROPERTIES(uci-static PROPERTIES OUTPUT_NAME uci)