projects
/
oweals
/
uci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fdbcc5e
)
fix lua plugin linker error
author
Felix Fietkau
<nbd@openwrt.org>
Sun, 27 Mar 2011 00:47:23 +0000
(
01:47
+0100)
committer
Felix Fietkau
<nbd@openwrt.org>
Sun, 27 Mar 2011 00:47:23 +0000
(
01:47
+0100)
lua/CMakeLists.txt
patch
|
blob
|
history
diff --git
a/lua/CMakeLists.txt
b/lua/CMakeLists.txt
index fe960617caeacb4e1d671c274a188a12e52ae1e9..b3e2ca7c3effe87a35797306fc321a969e9d8808 100644
(file)
--- a/
lua/CMakeLists.txt
+++ b/
lua/CMakeLists.txt
@@
-5,6
+5,7
@@
PROJECT(uci C)
SET(CMAKE_INSTALL_PREFIX /)
ADD_DEFINITIONS(-Os -Wall -Werror --std=gnu99 -g3 -I..)
+LINK_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/..)
IF(APPLE)
SET(CMAKE_SHARED_MODULE_CREATE_C_FLAGS "${CMAKE_SHARED_MODULE_CREATE_C_FLAGS} -undefined dynamic_lookup")