From: Felix Fietkau Date: Sun, 27 Mar 2011 00:47:23 +0000 (+0100) Subject: fix lua plugin linker error X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=ee48b7a841615226d9aea9b51dbc619b051461d0;p=oweals%2Fuci.git fix lua plugin linker error --- diff --git a/lua/CMakeLists.txt b/lua/CMakeLists.txt index fe96061..b3e2ca7 100644 --- 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")